]> git.baikalelectronics.ru Git - kernel.git/commit
ext4: remove redundant check buffer_uptodate()
authorJoseph Qi <joseph.qi@linux.alibaba.com>
Mon, 26 Apr 2021 06:29:47 +0000 (14:29 +0800)
committerTheodore Ts'o <tytso@mit.edu>
Thu, 17 Jun 2021 14:53:19 +0000 (10:53 -0400)
commit5c680150d7f43484fde6b87271229f2206bfff7c
treed8cb488d431721ee13ce02dbbf55761a83293f56
parentd0b040f5f2557b2f507c01e88ad8cff424fdc6a9
ext4: remove redundant check buffer_uptodate()

Now set_buffer_uptodate() will test first and then set, so we don't have
to check buffer_uptodate() first, remove it to simplify code.

Reviewed-by: Ritesh Harjani <riteshh@linux.ibm.com>
Signed-off-by: Joseph Qi <joseph.qi@linux.alibaba.com>
Link: https://lore.kernel.org/r/1619418587-5580-1-git-send-email-joseph.qi@linux.alibaba.com
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
fs/ext4/ext4.h