aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_zone_alloc.c
diff options
context:
space:
mode:
authorChristoph Hellwig <[email protected]>2025-03-17 05:44:53 +0000
committerCarlos Maiolino <[email protected]>2025-03-18 12:06:00 +0000
commit9ec3f7977a32f2045ef14445f165bcd96e596344 (patch)
tree6f69d06df1335c72d5472b2d7892b72589acf14c /fs/xfs/xfs_zone_alloc.c
parentxfs: fix a missing unlock in xfs_growfs_data (diff)
downloadkernel-9ec3f7977a32f2045ef14445f165bcd96e596344.tar.gz
kernel-9ec3f7977a32f2045ef14445f165bcd96e596344.zip
xfs: don't increment m_generation for all errors in xfs_growfs_data
xfs_growfs_data needs to increment m_generation as soon as the primary superblock has been updated. As the update of the secondary superblocks was part of xfs_growfs_data_private that mean the incremented had to be done unconditionally once that was called. Later, commit 83a7f86e39ff ("xfs: separate secondary sb update in growfs") split the secondary superblock update into a separate helper, so now the increment on error can be limited to failed calls to xfs_update_secondary_sbs. Signed-off-by: Christoph Hellwig <[email protected]> Reviewed-by: Carlos Maiolino <[email protected]> Signed-off-by: Carlos Maiolino <[email protected]>
Diffstat (limited to 'fs/xfs/xfs_zone_alloc.c')
0 files changed, 0 insertions, 0 deletions