aboutsummaryrefslogtreecommitdiffstats
path: root/fs/gfs2/rgrp.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/gfs2/rgrp.c')
-rw-r--r--fs/gfs2/rgrp.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/gfs2/rgrp.c b/fs/gfs2/rgrp.c
index a62c0f2d26d3..30eb428065c5 100644
--- a/fs/gfs2/rgrp.c
+++ b/fs/gfs2/rgrp.c
@@ -1470,7 +1470,7 @@ void gfs2_unlink_di(struct inode *inode)
1470 struct gfs2_inode *ip = GFS2_I(inode); 1470 struct gfs2_inode *ip = GFS2_I(inode);
1471 struct gfs2_sbd *sdp = GFS2_SB(inode); 1471 struct gfs2_sbd *sdp = GFS2_SB(inode);
1472 struct gfs2_rgrpd *rgd; 1472 struct gfs2_rgrpd *rgd;
1473 u64 blkno = ip->i_num.no_addr; 1473 u64 blkno = ip->i_no_addr;
1474 1474
1475 rgd = rgblk_free(sdp, blkno, 1, GFS2_BLKST_UNLINKED); 1475 rgd = rgblk_free(sdp, blkno, 1, GFS2_BLKST_UNLINKED);
1476 if (!rgd) 1476 if (!rgd)
@@ -1505,9 +1505,9 @@ static void gfs2_free_uninit_di(struct gfs2_rgrpd *rgd, u64 blkno)
1505 1505
1506void gfs2_free_di(struct gfs2_rgrpd *rgd, struct gfs2_inode *ip) 1506void gfs2_free_di(struct gfs2_rgrpd *rgd, struct gfs2_inode *ip)
1507{ 1507{
1508 gfs2_free_uninit_di(rgd, ip->i_num.no_addr); 1508 gfs2_free_uninit_di(rgd, ip->i_no_addr);
1509 gfs2_quota_change(ip, -1, ip->i_inode.i_uid, ip->i_inode.i_gid); 1509 gfs2_quota_change(ip, -1, ip->i_inode.i_uid, ip->i_inode.i_gid);
1510 gfs2_meta_wipe(ip, ip->i_num.no_addr, 1); 1510 gfs2_meta_wipe(ip, ip->i_no_addr, 1);
1511} 1511}
1512 1512
1513/** 1513/**