aboutsummaryrefslogtreecommitdiffstats
path: root/fs/gfs2/ops_inode.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/gfs2/ops_inode.c')
-rw-r--r--fs/gfs2/ops_inode.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/fs/gfs2/ops_inode.c b/fs/gfs2/ops_inode.c
index 8386ab323e33..9f71372c1757 100644
--- a/fs/gfs2/ops_inode.c
+++ b/fs/gfs2/ops_inode.c
@@ -61,7 +61,7 @@ static int gfs2_create(struct inode *dir, struct dentry *dentry,
61 inode = gfs2_createi(ghs, &dentry->d_name, S_IFREG | mode, 0); 61 inode = gfs2_createi(ghs, &dentry->d_name, S_IFREG | mode, 0);
62 if (!IS_ERR(inode)) { 62 if (!IS_ERR(inode)) {
63 gfs2_trans_end(sdp); 63 gfs2_trans_end(sdp);
64 if (dip->i_alloc.al_rgd) 64 if (dip->i_alloc->al_rgd)
65 gfs2_inplace_release(dip); 65 gfs2_inplace_release(dip);
66 gfs2_quota_unlock(dip); 66 gfs2_quota_unlock(dip);
67 gfs2_alloc_put(dip); 67 gfs2_alloc_put(dip);
@@ -376,7 +376,7 @@ static int gfs2_symlink(struct inode *dir, struct dentry *dentry,
376 } 376 }
377 377
378 gfs2_trans_end(sdp); 378 gfs2_trans_end(sdp);
379 if (dip->i_alloc.al_rgd) 379 if (dip->i_alloc->al_rgd)
380 gfs2_inplace_release(dip); 380 gfs2_inplace_release(dip);
381 gfs2_quota_unlock(dip); 381 gfs2_quota_unlock(dip);
382 gfs2_alloc_put(dip); 382 gfs2_alloc_put(dip);
@@ -452,7 +452,7 @@ static int gfs2_mkdir(struct inode *dir, struct dentry *dentry, int mode)
452 gfs2_assert_withdraw(sdp, !error); /* dip already pinned */ 452 gfs2_assert_withdraw(sdp, !error); /* dip already pinned */
453 453
454 gfs2_trans_end(sdp); 454 gfs2_trans_end(sdp);
455 if (dip->i_alloc.al_rgd) 455 if (dip->i_alloc->al_rgd)
456 gfs2_inplace_release(dip); 456 gfs2_inplace_release(dip);
457 gfs2_quota_unlock(dip); 457 gfs2_quota_unlock(dip);
458 gfs2_alloc_put(dip); 458 gfs2_alloc_put(dip);
@@ -558,7 +558,7 @@ static int gfs2_mknod(struct inode *dir, struct dentry *dentry, int mode,
558 } 558 }
559 559
560 gfs2_trans_end(sdp); 560 gfs2_trans_end(sdp);
561 if (dip->i_alloc.al_rgd) 561 if (dip->i_alloc->al_rgd)
562 gfs2_inplace_release(dip); 562 gfs2_inplace_release(dip);
563 gfs2_quota_unlock(dip); 563 gfs2_quota_unlock(dip);
564 gfs2_alloc_put(dip); 564 gfs2_alloc_put(dip);