summaryrefslogtreecommitdiff
path: root/fs/ext4/super.c
diff options
context:
space:
mode:
authorStephen Hemminger <stephen@networkplumber.org>2014-05-12 10:50:23 -0400
committerTheodore Ts'o <tytso@mit.edu>2014-05-12 10:50:23 -0400
commitc197855ea14175a25003c276824689e8ba318e53 (patch)
treeb01d69bebe4c4dc5ca276447ec9d16bece30c723 /fs/ext4/super.c
parente674e5cbd0942b42a12106ac0be8330f4301bef4 (diff)
downloadlwn-c197855ea14175a25003c276824689e8ba318e53.tar.gz
lwn-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/super.c')
-rw-r--r--fs/ext4/super.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/ext4/super.c b/fs/ext4/super.c
index e38dd7d37a69..b26a3959c8dd 100644
--- a/fs/ext4/super.c
+++ b/fs/ext4/super.c
@@ -138,8 +138,8 @@ static __le32 ext4_superblock_csum(struct super_block *sb,
return cpu_to_le32(csum);
}
-int ext4_superblock_csum_verify(struct super_block *sb,
- struct ext4_super_block *es)
+static int ext4_superblock_csum_verify(struct super_block *sb,
+ struct ext4_super_block *es)
{
if (!EXT4_HAS_RO_COMPAT_FEATURE(sb,
EXT4_FEATURE_RO_COMPAT_METADATA_CSUM))