ext4: make ext4_shutdown() static
PATCH 1/1 ext4: make ext4_shutdown() static
From: Eric Biggers <[email protected]>
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 <[email protected]>
--- fs/ext4/ioctl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
fs/ext4/ioctl.c +1 -1
@@ -443,7 +443,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;
Signature · 1 line
2.12.2
Quoted 6 lines · Eric Biggers
From: Eric Biggers <[email protected]>
Make the
ext4_shutdown()function static, as suggested by running sparse ('make C=2fs/ext4/'). This was the only such warning infs/ext4/.Signed-off-by Eric Biggers <[email protected]>
Thanks, applied.
- Ted