xfs: don't pick up IOLOCK during rmapbt repair scan
authorDarrick J. Wong <djwong@kernel.org>
Mon, 15 Apr 2024 21:55:15 +0000 (14:55 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Mon, 15 Apr 2024 21:59:02 +0000 (14:59 -0700)
commit34ef5e17d5fd62a49bd9790834560261ebdec607
tree236968520742a22d3cae9a01471cc40ab1755c3f
parent69291726caf12b28e1854cbffb73bd8354579fe7
xfs: don't pick up IOLOCK during rmapbt repair scan

Now that we've fixed the directory operations to hold the ILOCK until
they're finished with rmapbt updates for directory shape changes, we no
longer need to take this lock when scanning directories for rmapbt
records.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
fs/xfs/scrub/rmap_repair.c