From: Darrick J. Wong Date: Thu, 12 Jun 2025 17:51:12 +0000 (-0700) Subject: xfs: actually use the xfs_growfs_check_rtgeom tracepoint X-Git-Tag: v6.16-rc5~30^2~8 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=db44d088a5ab030b741a3adf2e7b181a8a6dcfbe;p=thirdparty%2Fkernel%2Flinux.git xfs: actually use the xfs_growfs_check_rtgeom tracepoint We created a new tracepoint but forgot to put it in. Fix that. Cc: rostedt@goodmis.org Cc: stable@vger.kernel.org # v6.14 Fixes: 59a57acbce282d ("xfs: check that the rtrmapbt maxlevels doesn't increase when growing fs") Signed-off-by: Darrick J. Wong Reviewed-by: Carlos Maiolino Reported-by: Steven Rostedt Closes: https://lore.kernel.org/all/20250612131021.114e6ec8@batman.local.home/ Signed-off-by: Carlos Maiolino --- diff --git a/fs/xfs/xfs_rtalloc.c b/fs/xfs/xfs_rtalloc.c index 6484c596eceaf..736eb0924573d 100644 --- a/fs/xfs/xfs_rtalloc.c +++ b/fs/xfs/xfs_rtalloc.c @@ -1259,6 +1259,8 @@ xfs_growfs_check_rtgeom( kfree(nmp); + trace_xfs_growfs_check_rtgeom(mp, min_logfsbs); + if (min_logfsbs > mp->m_sb.sb_logblocks) return -EINVAL;