Files
twx-linux/fs
Darrick J. Wong 83e65294af xfs: fix flags argument to rmap lookup when converting shared file rmaps
[ Upstream commit ea8439899c ]

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: 3f165b334e ("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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-11-18 19:18:47 +01:00
..
2020-11-05 11:08:53 +01:00
…
…
…
2020-11-05 11:08:44 +01:00
…
2020-10-30 10:38:28 +01:00
…
2020-11-05 11:08:54 +01:00
…
…
2020-08-26 10:31:01 +02:00
…
…
…
…
…
2020-11-05 11:08:50 +01:00
2020-06-22 09:05:01 +02:00
…
…
…
2020-03-05 16:42:12 +01:00
…
…
…
2020-03-25 08:06:14 +01:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…