diff options
Diffstat (limited to 'fs/ext4/mmp.c')
-rw-r--r-- | fs/ext4/mmp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/ext4/mmp.c b/fs/ext4/mmp.c index 04434ad3e8e0..32bce844c2e1 100644 --- a/fs/ext4/mmp.c +++ b/fs/ext4/mmp.c | |||
@@ -18,7 +18,7 @@ static __le32 ext4_mmp_csum(struct super_block *sb, struct mmp_struct *mmp) | |||
18 | return cpu_to_le32(csum); | 18 | return cpu_to_le32(csum); |
19 | } | 19 | } |
20 | 20 | ||
21 | int ext4_mmp_csum_verify(struct super_block *sb, struct mmp_struct *mmp) | 21 | static int ext4_mmp_csum_verify(struct super_block *sb, struct mmp_struct *mmp) |
22 | { | 22 | { |
23 | if (!EXT4_HAS_RO_COMPAT_FEATURE(sb, | 23 | if (!EXT4_HAS_RO_COMPAT_FEATURE(sb, |
24 | EXT4_FEATURE_RO_COMPAT_METADATA_CSUM)) | 24 | EXT4_FEATURE_RO_COMPAT_METADATA_CSUM)) |
@@ -27,7 +27,7 @@ int ext4_mmp_csum_verify(struct super_block *sb, struct mmp_struct *mmp) | |||
27 | return mmp->mmp_checksum == ext4_mmp_csum(sb, mmp); | 27 | return mmp->mmp_checksum == ext4_mmp_csum(sb, mmp); |
28 | } | 28 | } |
29 | 29 | ||
30 | void ext4_mmp_csum_set(struct super_block *sb, struct mmp_struct *mmp) | 30 | static void ext4_mmp_csum_set(struct super_block *sb, struct mmp_struct *mmp) |
31 | { | 31 | { |
32 | if (!EXT4_HAS_RO_COMPAT_FEATURE(sb, | 32 | if (!EXT4_HAS_RO_COMPAT_FEATURE(sb, |
33 | EXT4_FEATURE_RO_COMPAT_METADATA_CSUM)) | 33 | EXT4_FEATURE_RO_COMPAT_METADATA_CSUM)) |