]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
[XFS] Fix mismerge of the fs_writable cleanup patch causing a freeze/thaw
authorNathan Scott <nathans@sgi.com>
Fri, 9 Jun 2006 07:12:46 +0000 (17:12 +1000)
committerNathan Scott <nathans@sgi.com>
Fri, 9 Jun 2006 07:12:46 +0000 (17:12 +1000)
test hang.

SGI-PV: 953563
SGI-Modid: xfs-linux-melb:xfs-kern:26182a

Signed-off-by: Nathan Scott <nathans@sgi.com>
fs/xfs/xfs_fsops.c

index 502483c41f972e14590a1bae527897ca2f49a64f..650d35f537b7934afd605726e3bfc34b3ef45e4b 100644 (file)
@@ -542,14 +542,13 @@ xfs_reserve_blocks(
 }
 
 void
-xfs_fs_log_dummy(xfs_mount_t *mp)
+xfs_fs_log_dummy(
+       xfs_mount_t     *mp)
 {
-       xfs_trans_t *tp;
-       xfs_inode_t *ip;
-
+       xfs_trans_t     *tp;
+       xfs_inode_t     *ip;
 
        tp = _xfs_trans_alloc(mp, XFS_TRANS_DUMMY1);
-       atomic_inc(&mp->m_active_trans);
        if (xfs_trans_reserve(tp, 0, XFS_ICHANGE_LOG_RES(mp), 0, 0, 0)) {
                xfs_trans_cancel(tp, 0);
                return;