diff options
Diffstat (limited to 'fs/gfs2/rgrp.c')
-rw-r--r-- | fs/gfs2/rgrp.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/gfs2/rgrp.c b/fs/gfs2/rgrp.c index cc28845ba6fd..9f28463e62e5 100644 --- a/fs/gfs2/rgrp.c +++ b/fs/gfs2/rgrp.c | |||
@@ -1486,7 +1486,6 @@ u64 gfs2_alloc_meta(struct gfs2_inode *ip) | |||
1486 | 1486 | ||
1487 | gfs2_statfs_change(sdp, 0, -1, 0); | 1487 | gfs2_statfs_change(sdp, 0, -1, 0); |
1488 | gfs2_quota_change(ip, +1, ip->i_inode.i_uid, ip->i_inode.i_gid); | 1488 | gfs2_quota_change(ip, +1, ip->i_inode.i_uid, ip->i_inode.i_gid); |
1489 | gfs2_trans_add_unrevoke(sdp, block); | ||
1490 | 1489 | ||
1491 | spin_lock(&sdp->sd_rindex_spin); | 1490 | spin_lock(&sdp->sd_rindex_spin); |
1492 | rgd->rd_free_clone--; | 1491 | rgd->rd_free_clone--; |
@@ -1528,7 +1527,7 @@ u64 gfs2_alloc_di(struct gfs2_inode *dip, u64 *generation) | |||
1528 | al->al_alloced++; | 1527 | al->al_alloced++; |
1529 | 1528 | ||
1530 | gfs2_statfs_change(sdp, 0, -1, +1); | 1529 | gfs2_statfs_change(sdp, 0, -1, +1); |
1531 | gfs2_trans_add_unrevoke(sdp, block); | 1530 | gfs2_trans_add_unrevoke(sdp, block, 1); |
1532 | 1531 | ||
1533 | spin_lock(&sdp->sd_rindex_spin); | 1532 | spin_lock(&sdp->sd_rindex_spin); |
1534 | rgd->rd_free_clone--; | 1533 | rgd->rd_free_clone--; |