summaryrefslogtreecommitdiffstats
path: root/fs/dax.c
diff options
context:
space:
mode:
authorKaixu Xia <kaixuxia@tencent.com>2022-06-30 10:04:18 -0700
committerDarrick J. Wong <djwong@kernel.org>2022-06-30 10:04:18 -0700
commit98eb8d95025bd96d78fa4d27fb9e1e8d162c7227 (patch)
treec3d8dda69434c615ffbcc9b6d8c8ca459119fc6f /fs/dax.c
parentd58562ca6c992fc5577838d010c8a37401c2a831 (diff)
downloadlinux-stable-98eb8d95025bd96d78fa4d27fb9e1e8d162c7227.tar.gz
linux-stable-98eb8d95025bd96d78fa4d27fb9e1e8d162c7227.tar.bz2
linux-stable-98eb8d95025bd96d78fa4d27fb9e1e8d162c7227.zip
iomap: set did_zero to true when zeroing successfully
It is unnecessary to check and set did_zero value in while() loop in iomap_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/dax.c')
0 files changed, 0 insertions, 0 deletions