[XFS] Fix the transaction flags to make lazy superblock counters work.
authorDavid Chinner <dgc@sgi.com>
Thu, 24 May 2007 05:26:51 +0000 (15:26 +1000)
committerTim Shimmin <tes@chook.melbourne.sgi.com>
Sat, 14 Jul 2007 05:29:02 +0000 (15:29 +1000)
SGI-PV: 964999
SGI-Modid: xfs-linux-melb:xfs-kern:28653a

Signed-off-by: David Chinner <dgc@sgi.com>
Signed-off-by: Christoph Hellwig <hch@infradead.org>
Signed-off-by: Tim Shimmin <tes@sgi.com>
fs/xfs/xfs_trans.c

index 7133fd9ab8689aa6debdfcf81b93160e5ca0e8c6..2caa0783049bcf15e039147ecc953620fe3a7c86 100644 (file)
@@ -533,7 +533,7 @@ xfs_trans_mod_sb(
                return;
        }
 
-       tp->t_flags |= (XFS_TRANS_SB_DIRTY | XFS_TRANS_DIRTY);
+       tp->t_flags |= flags;
 }
 
 /*