diff options
Diffstat (limited to 'fs/gfs2/inode.c')
-rw-r--r-- | fs/gfs2/inode.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/gfs2/inode.c b/fs/gfs2/inode.c index fb969302f181..b861ddba8688 100644 --- a/fs/gfs2/inode.c +++ b/fs/gfs2/inode.c | |||
@@ -338,7 +338,7 @@ int gfs2_change_nlink(struct gfs2_inode *ip, int diff) | |||
338 | ip->i_inode.i_nlink = nlink; | 338 | ip->i_inode.i_nlink = nlink; |
339 | 339 | ||
340 | gfs2_trans_add_bh(ip->i_gl, dibh, 1); | 340 | gfs2_trans_add_bh(ip->i_gl, dibh, 1); |
341 | gfs2_dinode_out(&ip->i_di, dibh->b_data); | 341 | gfs2_dinode_out(ip, dibh->b_data); |
342 | brelse(dibh); | 342 | brelse(dibh); |
343 | mark_inode_dirty(&ip->i_inode); | 343 | mark_inode_dirty(&ip->i_inode); |
344 | 344 | ||
@@ -792,7 +792,7 @@ static int link_dinode(struct gfs2_inode *dip, const struct qstr *name, | |||
792 | goto fail_end_trans; | 792 | goto fail_end_trans; |
793 | ip->i_di.di_nlink = 1; | 793 | ip->i_di.di_nlink = 1; |
794 | gfs2_trans_add_bh(ip->i_gl, dibh, 1); | 794 | gfs2_trans_add_bh(ip->i_gl, dibh, 1); |
795 | gfs2_dinode_out(&ip->i_di, dibh->b_data); | 795 | gfs2_dinode_out(ip, dibh->b_data); |
796 | brelse(dibh); | 796 | brelse(dibh); |
797 | return 0; | 797 | return 0; |
798 | 798 | ||
@@ -1349,7 +1349,7 @@ __gfs2_setattr_simple(struct gfs2_inode *ip, struct iattr *attr) | |||
1349 | gfs2_inode_attr_out(ip); | 1349 | gfs2_inode_attr_out(ip); |
1350 | 1350 | ||
1351 | gfs2_trans_add_bh(ip->i_gl, dibh, 1); | 1351 | gfs2_trans_add_bh(ip->i_gl, dibh, 1); |
1352 | gfs2_dinode_out(&ip->i_di, dibh->b_data); | 1352 | gfs2_dinode_out(ip, dibh->b_data); |
1353 | brelse(dibh); | 1353 | brelse(dibh); |
1354 | } | 1354 | } |
1355 | return error; | 1355 | return error; |