summaryrefslogtreecommitdiffstats
path: root/fs/gfs2/log.c
diff options
context:
space:
mode:
authorKaixu Xia <kaixuxia@tencent.com>2022-06-30 19:04:18 +0200
committerDarrick J. Wong <djwong@kernel.org>2022-06-30 19:05:11 +0200
commitf8189d5d5fbf082786fb91c549f5127f23daec09 (patch)
tree440ced279adbacd91a057b1044810ead5fa9e73a /fs/gfs2/log.c
parentiomap: set did_zero to true when zeroing successfully (diff)
downloadlinux-f8189d5d5fbf082786fb91c549f5127f23daec09.tar.xz
linux-f8189d5d5fbf082786fb91c549f5127f23daec09.zip
dax: set did_zero to true when zeroing successfully
It is unnecessary to check and set did_zero value in while() loop in dax_zero_iter(), we can set did_zero to true only when zeroing successfully at last. Signed-off-by: Kaixu Xia <kaixuxia@tencent.com> Reviewed-by: Chaitanya Kulkarni <kch@nvidia.com> Reviewed-by: Darrick J. Wong <djwong@kernel.org> Signed-off-by: Darrick J. Wong <djwong@kernel.org> Reviewed-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'fs/gfs2/log.c')
0 files changed, 0 insertions, 0 deletions