summaryrefslogtreecommitdiff
path: root/fs/ext4/ioctl.c
diff options
context:
space:
mode:
authorEric Biggers <ebiggers@google.com>2017-04-30 07:40:44 +0300
committerTheodore Ts'o <tytso@mit.edu>2017-04-30 07:40:44 +0300
commit1a20a63084be8fc5b0c1191231dfd311f7fc2afa (patch)
treed67978ecb3ad12395a127d7f3d8af9de48cc3b00 /fs/ext4/ioctl.c
parent0c9ec4beecac94cb450c8abb2ac8b7e8a79240ea (diff)
downloadlinux-1a20a63084be8fc5b0c1191231dfd311f7fc2afa.tar.xz
ext4: make ext4_shutdown() static
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>
Diffstat (limited to 'fs/ext4/ioctl.c')
-rw-r--r--fs/ext4/ioctl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ext4/ioctl.c b/fs/ext4/ioctl.c
index dfcb815275f1..2779d5f291a4 100644
--- a/fs/ext4/ioctl.c
+++ b/fs/ext4/ioctl.c
@@ -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;