chiark / gitweb /
journald: turn off COW for journal files on btrfs
[elogind.git] / src / shared / util.h
index 4b7e12e62838164c93897eb8c28d6842c0b490a1..31103e957f4aa104c613919c48997ef3db05fd48 100644 (file)
@@ -1071,3 +1071,6 @@ 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 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);