aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_rtalloc.c
diff options
context:
space:
mode:
authorDarrick J. Wong <[email protected]>2025-06-12 17:51:12 +0000
committerCarlos Maiolino <[email protected]>2025-06-16 08:18:01 +0000
commitdb44d088a5ab030b741a3adf2e7b181a8a6dcfbe (patch)
treef426781a65352e632c9793ba2086f1a4a431d535 /fs/xfs/xfs_rtalloc.c
parentxfs: Improve error handling in xfs_mru_cache_create() (diff)
downloadkernel-db44d088a5ab030b741a3adf2e7b181a8a6dcfbe.tar.gz
kernel-db44d088a5ab030b741a3adf2e7b181a8a6dcfbe.zip
xfs: actually use the xfs_growfs_check_rtgeom tracepoint
We created a new tracepoint but forgot to put it in. Fix that. Cc: [email protected] Cc: [email protected] # v6.14 Fixes: 59a57acbce282d ("xfs: check that the rtrmapbt maxlevels doesn't increase when growing fs") Signed-off-by: Darrick J. Wong <[email protected]> Reviewed-by: Carlos Maiolino <[email protected]> Reported-by: Steven Rostedt <[email protected]> Closes: https://lore.kernel.org/all/[email protected]/ Signed-off-by: Carlos Maiolino <[email protected]>
Diffstat (limited to 'fs/xfs/xfs_rtalloc.c')
-rw-r--r--fs/xfs/xfs_rtalloc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/xfs/xfs_rtalloc.c b/fs/xfs/xfs_rtalloc.c
index 6484c596ecea..736eb0924573 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;