diff options
author | David Sterba <dsterba@suse.com> | 2018-02-27 09:48:54 -0500 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2018-03-26 09:09:41 -0400 |
commit | ab0d09361662b7593fe166d27ad49b8852a2ef3e (patch) | |
tree | 5eb138680539babb4c9803e90ae70f741978fd15 | |
parent | 7852781d94b30096ca0f273aa776d2dbcca6d640 (diff) |
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>
-rw-r--r-- | fs/btrfs/extent_io.h | 4 | ||||
-rw-r--r-- | fs/btrfs/xattr.h | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/fs/btrfs/extent_io.h b/fs/btrfs/extent_io.h index e359c5d4305c..c82a5842d524 100644 --- a/fs/btrfs/extent_io.h +++ b/fs/btrfs/extent_io.h | |||
@@ -83,8 +83,8 @@ static inline int le_test_bit(int nr, const u8 *addr) | |||
83 | return 1U & (addr[BIT_BYTE(nr)] >> (nr & (BITS_PER_BYTE-1))); | 83 | return 1U & (addr[BIT_BYTE(nr)] >> (nr & (BITS_PER_BYTE-1))); |
84 | } | 84 | } |
85 | 85 | ||
86 | extern void le_bitmap_set(u8 *map, unsigned int start, int len); | 86 | void le_bitmap_set(u8 *map, unsigned int start, int len); |
87 | extern void le_bitmap_clear(u8 *map, unsigned int start, int len); | 87 | void le_bitmap_clear(u8 *map, unsigned int start, int len); |
88 | 88 | ||
89 | struct extent_state; | 89 | struct extent_state; |
90 | struct btrfs_root; | 90 | struct btrfs_root; |
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 @@ | |||
23 | 23 | ||
24 | extern const struct xattr_handler *btrfs_xattr_handlers[]; | 24 | extern const struct xattr_handler *btrfs_xattr_handlers[]; |
25 | 25 | ||
26 | extern ssize_t btrfs_getxattr(struct inode *inode, const char *name, | 26 | ssize_t btrfs_getxattr(struct inode *inode, const char *name, |
27 | void *buffer, size_t size); | 27 | void *buffer, size_t size); |
28 | extern int btrfs_setxattr(struct btrfs_trans_handle *trans, | 28 | int btrfs_setxattr(struct btrfs_trans_handle *trans, |
29 | struct inode *inode, const char *name, | 29 | struct inode *inode, const char *name, |
30 | const void *value, size_t size, int flags); | 30 | const void *value, size_t size, int flags); |
31 | 31 | ||
32 | extern int btrfs_xattr_security_init(struct btrfs_trans_handle *trans, | 32 | int btrfs_xattr_security_init(struct btrfs_trans_handle *trans, |
33 | struct inode *inode, struct inode *dir, | 33 | struct inode *inode, struct inode *dir, |
34 | const struct qstr *qstr); | 34 | const struct qstr *qstr); |
35 | 35 | ||