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 b0dc075..4556219 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