]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
xfs: Add a comment in xfs_log_sb()
authorNirjhar Roy (IBM) <nirjhar.roy.lists@gmail.com>
Fri, 20 Feb 2026 06:53:59 +0000 (12:23 +0530)
committerCarlos Maiolino <cem@kernel.org>
Wed, 25 Feb 2026 12:58:49 +0000 (13:58 +0100)
commitac1d977096a17d56c55bd7f90be48e81ac4cec3f
treefea14e195e65ac429535b19592750247d8529dc4
parent8baa9bccc0156d6952d337bf17f57ce15902dfe4
xfs: Add a comment in xfs_log_sb()

Add a comment explaining why the sb_frextents are updated outside the
if (xfs_has_lazycount(mp) check even though it is a lazycounter.
RT groups are supported only in v5 filesystems which always have
lazycounter enabled - so putting it inside the if(xfs_has_lazycount(mp)
check is redundant.

Suggested-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Nirjhar Roy (IBM) <nirjhar.roy.lists@gmail.com>
Signed-off-by: Carlos Maiolino <cem@kernel.org>
fs/xfs/libxfs/xfs_sb.c