aboutsummaryrefslogtreecommitdiff
path: root/fs/xfs/scrub
diff options
context:
space:
mode:
authorDarrick J. Wong2020-11-08 16:32:43 -0800
committerDarrick J. Wong2020-11-10 16:47:34 -0800
commitea8439899c0b15a176664df62aff928010fad276 (patch)
tree8d6ab81bd04e4e4b2ccbaf08ddce24eff7a84704 /fs/xfs/scrub
parent46afb0628b86347933b16ac966655f74eab65c8c (diff)
xfs: fix flags argument to rmap lookup when converting shared file rmaps
Pass the same oldext argument (which contains the existing rmapping's unwritten state) to xfs_rmap_lookup_le_range at the start of xfs_rmap_convert_shared. At this point in the code, flags is zero, which means that we perform lookups using the wrong key. Fixes: 3f165b334e51 ("xfs: convert unwritten status of reverse mappings for shared files") Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com> Reviewed-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'fs/xfs/scrub')
0 files changed, 0 insertions, 0 deletions