chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
journald: whenever we rotate a file, btrfs defrag it
[elogind.git]
/
src
/
shared
/
btrfs-util.h
diff --git
a/src/shared/btrfs-util.h
b/src/shared/btrfs-util.h
index 1532c120df127e803b07157dbb293f4c4eefd33a..1bff9171d7e1b96e76455e81021d9abb1dea8d77 100644
(file)
--- a/
src/shared/btrfs-util.h
+++ b/
src/shared/btrfs-util.h
@@
-57,3
+57,6
@@
int btrfs_subvol_get_quota_fd(int fd, BtrfsQuotaInfo *quota);
int btrfs_reflink(int infd, int outfd);
int btrfs_get_block_device(const char *path, dev_t *dev);
+
+int btrfs_defrag_fd(int fd);
+int btrfs_defrag(const char *p);