btrfs-util: move btrfs_defrag_fd() from fd-util.[ch]

After d71ece3f0b, the function is not used
in libbasic or libsystemd anymore. Let's move it to more appropriate
place.
This commit is contained in:
Yu Watanabe
2022-10-25 16:25:46 +09:00
parent 876d7e0b4f
commit 4117366a28
4 changed files with 13 additions and 16 deletions
-1
View File
@@ -108,7 +108,6 @@ static inline int make_null_stdio(void) {
int fd_reopen(int fd, int flags);
int read_nr_open(void);
int btrfs_defrag_fd(int fd);
int fd_get_diskseq(int fd, uint64_t *ret);
/* The maximum length a buffer for a /proc/self/fd/<fd> path needs */