OSDN Git Service

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>
Thu, 8 Feb 2018 02:05:10 +0000 (18:05 -0800)
commitd94680798786ffd3e8c87c6d2727a75c6616dc5b
tree3a9a79c372989fa48330359da4ceba9e73dea50b
parent3bc01114a338a9ac336b3e139948e69ef0488a43
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