]> git.baikalelectronics.ru Git - kernel.git/commitdiff
btrfs: send: drop __KERNEL__ ifdef from send.h
authorDavid Sterba <dsterba@suse.com>
Thu, 2 Jun 2022 13:25:32 +0000 (15:25 +0200)
committerDavid Sterba <dsterba@suse.com>
Mon, 25 Jul 2022 15:45:37 +0000 (17:45 +0200)
We don't need this ifdef as the header file is not shared, the protocol
definition used by userspace should be from libbtrfs or libbtrfsutil.

Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/send.h

index b0dc07567d09ac37ba7165b6b91411ee2d945537..45562190b473e21dfdb1eff30eefe5821a9df7c1 100644 (file)
@@ -155,8 +155,6 @@ enum {
        BTRFS_SEND_A_MAX                = 31,
 };
 
-#ifdef __KERNEL__
 long btrfs_ioctl_send(struct inode *inode, struct btrfs_ioctl_send_args *arg);
-#endif
 
 #endif