On Sun, Oct 02, 2022 at 11:20:02AM -0700, Darrick J. Wong wrote: > From: Darrick J. Wong <djwong@xxxxxxxxxx> > > xfs_rtalloc_query_range scans the realtime bitmap file in order of > increasing file offset, so this caller can take ILOCK_SHARED on the rt > bitmap inode instead of ILOCK_EXCL. This isn't going to yield any > practical benefits at mount time, but we'd like to make the locking > usage consistent around xfs_rtalloc_query_all calls. Make all the > places we do this use the same xfs_ilock lockflags for consistency. > > Fixes: 4c934c7dd60c ("xfs: report realtime space information via the rtbitmap") > Signed-off-by: Darrick J. Wong <djwong@xxxxxxxxxx> > --- > fs/xfs/xfs_fsmap.c | 4 ++-- > fs/xfs/xfs_rtalloc.c | 4 ++-- > 2 files changed, 4 insertions(+), 4 deletions(-) LGTM. Reviewed-by: Dave Chinner <dchinner@xxxxxxxxxx> -- Dave Chinner david@xxxxxxxxxxxxx