Improve comment of snapshot_currently_being_removed.
[dss.git] / file.h
1 /* SPDX-License-Identifier: GPL-2.0 */
2 int for_each_subdir(int (*func)(const char *, void *), void *private_data);
3 __must_check int mark_fd_nonblocking(int fd);
4 static inline int dss_rename(const char *old_path, const char *new_path)
5 {
6 if (rename(old_path, new_path) >= 0)
7 return 1;
8 return -ERRNO_TO_DSS_ERROR(errno);
9 }
10
11 int dss_select(int n, fd_set *readfds, fd_set *writefds,
12 struct timeval *timeout_tv);