f2fs: avoid build warn of fall_through
authorJaegeuk Kim <jaegeuk@kernel.org>
Mon, 26 Nov 2018 22:20:32 +0000 (14:20 -0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Mon, 26 Nov 2018 23:53:57 +0000 (15:53 -0800)
commitf5d5510e7389fa264337fb524346bac9eb93adc8
tree1d614971b866956eb84b4af32cc4af33b218b01d
parent2866fb16d67992195b0526d19e65acb6640fb87f
f2fs: avoid build warn of fall_through

After merging the f2fs tree, today's linux-next build
 (x86_64_allmodconfig) produced this warning:

 In file included from fs/f2fs/dir.c:11:
 fs/f2fs/f2fs.h: In function '__mark_inode_dirty_flag':
 fs/f2fs/f2fs.h:2388:6: warning: this statement may fall through [-Wimplicit-fallthrough=]
    if (set)
       ^
 fs/f2fs/f2fs.h:2390:2: note: here
   case FI_DATA_EXIST:
   ^~~~

 Exposed by my use of -Wimplicit-fallthrough

Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/f2fs.h