projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ee5b46a
)
btrfs: send: drop __KERNEL__ ifdef from send.h
author
David Sterba
<dsterba@suse.com>
Thu, 2 Jun 2022 13:25:32 +0000
(15:25 +0200)
committer
David 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
patch
|
blob
|
history
diff --git
a/fs/btrfs/send.h
b/fs/btrfs/send.h
index b0dc07567d09ac37ba7165b6b91411ee2d945537..45562190b473e21dfdb1eff30eefe5821a9df7c1 100644
(file)
--- a/
fs/btrfs/send.h
+++ b/
fs/btrfs/send.h
@@
-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