summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/xattr.h
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.com>2018-02-27 15:48:54 +0100
committerDavid Sterba <dsterba@suse.com>2018-03-26 15:09:41 +0200
commitab0d09361662b7593fe166d27ad49b8852a2ef3e (patch)
tree5eb138680539babb4c9803e90ae70f741978fd15 /fs/btrfs/xattr.h
parent7852781d94b30096ca0f273aa776d2dbcca6d640 (diff)
downloadlinux-ab0d09361662b7593fe166d27ad49b8852a2ef3e.tar.gz
linux-ab0d09361662b7593fe166d27ad49b8852a2ef3e.tar.bz2
linux-ab0d09361662b7593fe166d27ad49b8852a2ef3e.zip
btrfs: drop extern from function declarations
Extern for functions does not make any difference, there are only a few so let's remove them before it's too late. Reviewed-by: Nikolay Borisov <nborisov@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/xattr.h')
-rw-r--r--fs/btrfs/xattr.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/btrfs/xattr.h b/fs/btrfs/xattr.h
index 3c227c549dfc..96e6f3a304d3 100644
--- a/fs/btrfs/xattr.h
+++ b/fs/btrfs/xattr.h
@@ -23,13 +23,13 @@
extern const struct xattr_handler *btrfs_xattr_handlers[];
-extern ssize_t btrfs_getxattr(struct inode *inode, const char *name,
+ssize_t btrfs_getxattr(struct inode *inode, const char *name,
void *buffer, size_t size);
-extern int btrfs_setxattr(struct btrfs_trans_handle *trans,
+int btrfs_setxattr(struct btrfs_trans_handle *trans,
struct inode *inode, const char *name,
const void *value, size_t size, int flags);
-extern int btrfs_xattr_security_init(struct btrfs_trans_handle *trans,
+int btrfs_xattr_security_init(struct btrfs_trans_handle *trans,
struct inode *inode, struct inode *dir,
const struct qstr *qstr);