]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
missing_fs: drop unnecessary entries
authorYu Watanabe <watanabe.yu+github@gmail.com>
Fri, 28 Feb 2025 17:50:07 +0000 (02:50 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Mon, 3 Mar 2025 17:24:49 +0000 (02:24 +0900)
Now our kernel baseline is 5.4.

src/basic/missing_fs.h

index 5c64cb6e0c75353a1827bf14d81eb18f7dcc54d5..79c43c72f7ede74a8dea8129727869fc3aae937f 100644 (file)
 #define BLKGETDISKSEQ _IOR(0x12,128,__u64)
 #endif
 
-#ifndef FICLONE /* 04b38d601239b4d9be641b412cf4b7456a041c67 (4.5) */
-#define FICLONE _IOW(0x94, 9, int)
-#endif
-
-#ifndef FICLONERANGE /* 04b38d601239b4d9be641b412cf4b7456a041c67 (4.5) */
-#define FICLONERANGE _IOW(0x94, 13, struct file_clone_range)
-struct file_clone_range {
-       __s64 src_fd;
-       __u64 src_offset;
-       __u64 src_length;
-       __u64 dest_offset;
-};
-#endif
-
 /* linux/fs.h or sys/mount.h */
 #ifndef MS_MOVE
 #  define MS_MOVE 8192