f2fs: remove a redundant conditional expression
authorLiFan <fanofcode.li@samsung.com>
Tue, 28 Nov 2017 12:17:41 +0000 (20:17 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Sat, 27 Jan 2018 21:29:23 +0000 (13:29 -0800)
commit9fecb4159dc1e69cc8b137d5486c0f2216644c1b
treedc4cf2bcced0b80af7fdbaaec24dd2df293885d5
parent8e56c02ee9faaeb07cc41b9cfbb972fe452f4850
f2fs: remove a redundant conditional expression

Avoid checking is_inode repeatedly, and make the logic
a little bit clearer.

Signed-off-by: Fan li <fanofcode.li@samsung.com>
Reviewed-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/f2fs.h