xfs: replace xfs_sb_version checks with feature flag checks
[linux-2.6-microblaze.git] / fs / xfs / xfs_fsops.c
index 0ef0aad..e6df2ce 100644 (file)
@@ -178,7 +178,7 @@ xfs_growfs_data_private(
         * particularly important for shrink because the write verifier
         * will fail if sb_fdblocks is ever larger than sb_dblocks.
         */
-       if (xfs_sb_version_haslazysbcount(&mp->m_sb))
+       if (xfs_has_lazysbcount(mp))
                xfs_log_sb(tp);
 
        xfs_trans_set_sync(tp);