diff options
author | Stephen Hemminger <stephen@networkplumber.org> | 2014-05-12 16:50:23 +0200 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2014-05-12 16:50:23 +0200 |
commit | c197855ea14175a25003c276824689e8ba318e53 (patch) | |
tree | b01d69bebe4c4dc5ca276447ec9d16bece30c723 /fs/ext4/inline.c | |
parent | ext4: fix block bitmap validation when bigalloc, ^flex_bg (diff) | |
download | linux-c197855ea14175a25003c276824689e8ba318e53.tar.xz linux-c197855ea14175a25003c276824689e8ba318e53.zip |
ext4: make local functions static
I have been running make namespacecheck to look for unneeded globals, and
found these in ext4.
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'fs/ext4/inline.c')
-rw-r--r-- | fs/ext4/inline.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/fs/ext4/inline.c b/fs/ext4/inline.c index 82edf5b93352..33dd704d16bd 100644 --- a/fs/ext4/inline.c +++ b/fs/ext4/inline.c @@ -22,7 +22,7 @@ #define EXT4_INLINE_DOTDOT_OFFSET 2 #define EXT4_INLINE_DOTDOT_SIZE 4 -int ext4_get_inline_size(struct inode *inode) +static int ext4_get_inline_size(struct inode *inode) { if (EXT4_I(inode)->i_inline_off) return EXT4_I(inode)->i_inline_size; @@ -211,8 +211,8 @@ out: * value since it is already handled by ext4_xattr_ibody_inline_set. * That saves us one memcpy. */ -void ext4_write_inline_data(struct inode *inode, struct ext4_iloc *iloc, - void *buffer, loff_t pos, unsigned int len) +static void ext4_write_inline_data(struct inode *inode, struct ext4_iloc *iloc, + void *buffer, loff_t pos, unsigned int len) { struct ext4_xattr_entry *entry; struct ext4_xattr_ibody_header *header; @@ -373,8 +373,8 @@ out: return error; } -int ext4_prepare_inline_data(handle_t *handle, struct inode *inode, - unsigned int len) +static int ext4_prepare_inline_data(handle_t *handle, struct inode *inode, + unsigned int len) { int ret, size; struct ext4_inode_info *ei = EXT4_I(inode); |