ext4: make ext4_shutdown() static
authorEric Biggers <ebiggers@google.com>
Sun, 30 Apr 2017 04:40:44 +0000 (00:40 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Sun, 30 Apr 2017 04:40:44 +0000 (00:40 -0400)
Make the ext4_shutdown() function static, as suggested by running sparse
('make C=2 fs/ext4/').  This was the only such warning in fs/ext4/.

Signed-off-by: Eric Biggers <ebiggers@google.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
fs/ext4/ioctl.c

index dfcb815275f1d05e92084e7b535054f2d7bdee75..2779d5f291a40bf89d9a0e42423e913658d66a23 100644 (file)
@@ -446,7 +446,7 @@ static inline unsigned long ext4_xflags_to_iflags(__u32 xflags)
        return iflags;
 }
 
-int ext4_shutdown(struct super_block *sb, unsigned long arg)
+static int ext4_shutdown(struct super_block *sb, unsigned long arg)
 {
        struct ext4_sb_info *sbi = EXT4_SB(sb);
        __u32 flags;