chiark / gitweb /
journald: turn off COW for journal files on btrfs
[elogind.git] / src / shared / util.h
index a131a3c0f127190489a306951fff084c1cb6a003..31103e957f4aa104c613919c48997ef3db05fd48 100644 (file)
@@ -1069,3 +1069,8 @@ int fd_setcrtime(int fd, usec_t usec);
 int fd_getcrtime(int fd, usec_t *usec);
 int path_getcrtime(const char *p, usec_t *usec);
 int fd_getcrtime_at(int dirfd, const char *name, usec_t *usec, int flags);
+
+int same_fd(int a, int b);
+
+int chattr_fd(int fd, bool b, int mask);
+int chattr_path(const char *p, bool b, int mask);