]> www.infradead.org Git - users/hch/xfsprogs.git/commitdiff
fixup
authorChristoph Hellwig <hch@lst.de>
Mon, 5 Aug 2024 17:34:08 +0000 (10:34 -0700)
committerChristoph Hellwig <hch@lst.de>
Tue, 6 Aug 2024 12:53:49 +0000 (05:53 -0700)
libxfs/init.c

index a89f95643688750bbfc8331f168c03b449da06fc..759eb40bf053813e1555ba98148fc62d84562660 100644 (file)
@@ -318,9 +318,7 @@ rtmount_init(
                        progname);
                return -1;
        }
-       mp->m_rsumlevels = mp->m_sb.sb_rextslog + 1;
-       mp->m_rsumblocks = xfs_rtsummary_blockcount(mp, mp->m_rsumlevels,
-                       mp->m_sb.sb_rbmblocks);
+       mp->m_rsumblocks = xfs_rtsummary_blockcount(mp, &mp->m_rsumlevels);
 
        /*
         * Allow debugger to be run without the realtime device present.