add patch replace-bug_on-with-warn_once-in-ext4_end_bio
[ext4-patch-queue.git] / make-ext4_shutdown-static
blob46af3a72fe8b9c77e3d40c4d0b603154f12f7353
1 ext4: make ext4_shutdown() static
3 From: Eric Biggers <ebiggers@google.com>
5 Make the ext4_shutdown() function static, as suggested by running sparse
6 ('make C=2 fs/ext4/').  This was the only such warning in fs/ext4/.
8 Signed-off-by: Eric Biggers <ebiggers@google.com>
9 Signed-off-by: Theodore Ts'o <tytso@mit.edu>
10 ---
11  fs/ext4/ioctl.c | 2 +-
12  1 file changed, 1 insertion(+), 1 deletion(-)
14 diff --git a/fs/ext4/ioctl.c b/fs/ext4/ioctl.c
15 index a4273ddb9922..06471430ea47 100644
16 --- a/fs/ext4/ioctl.c
17 +++ b/fs/ext4/ioctl.c
18 @@ -443,7 +443,7 @@ static inline unsigned long ext4_xflags_to_iflags(__u32 xflags)
19         return iflags;
20  }
22 -int ext4_shutdown(struct super_block *sb, unsigned long arg)
23 +static int ext4_shutdown(struct super_block *sb, unsigned long arg)
24  {
25         struct ext4_sb_info *sbi = EXT4_SB(sb);
26         __u32 flags;
27 -- 
28 2.12.2