]> git-server-git.apps.pok.os.sepia.ceph.com Git - xfsprogs-dev.git/commit
xfs: Add a comment in xfs_log_sb()
authorNirjhar Roy (IBM) <nirjhar.roy.lists@gmail.com>
Mon, 2 Mar 2026 01:40:01 +0000 (17:40 -0800)
committerAndrey Albershteyn <aalbersh@kernel.org>
Wed, 8 Apr 2026 19:39:57 +0000 (21:39 +0200)
commit806d742e6d03ab8b90f0e928a7c5fa2b76c8008f
tree151bdca5b54ae8e4cc30dd4221e5ef9ce7f34d59
parent4b3284ed006f23fea816141316fe74b7a4c478c6
xfs: Add a comment in xfs_log_sb()

Source kernel commit: ac1d977096a17d56c55bd7f90be48e81ac4cec3f

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>
libxfs/xfs_sb.c