aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ocfs2/namei.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/ocfs2/namei.c')
-rw-r--r--fs/ocfs2/namei.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/fs/ocfs2/namei.c b/fs/ocfs2/namei.c
index 9a56bfdf45c6..d63ab7be89a5 100644
--- a/fs/ocfs2/namei.c
+++ b/fs/ocfs2/namei.c
@@ -379,7 +379,7 @@ static int ocfs2_mknod(struct inode *dir,
379 } 379 }
380 } 380 }
381 381
382 handle = ocfs2_start_trans(osb, NULL, OCFS2_MKNOD_CREDITS); 382 handle = ocfs2_start_trans(osb, OCFS2_MKNOD_CREDITS);
383 if (IS_ERR(handle)) { 383 if (IS_ERR(handle)) {
384 status = PTR_ERR(handle); 384 status = PTR_ERR(handle);
385 handle = NULL; 385 handle = NULL;
@@ -696,7 +696,7 @@ static int ocfs2_link(struct dentry *old_dentry,
696 goto out_unlock_inode; 696 goto out_unlock_inode;
697 } 697 }
698 698
699 handle = ocfs2_start_trans(osb, NULL, OCFS2_LINK_CREDITS); 699 handle = ocfs2_start_trans(osb, OCFS2_LINK_CREDITS);
700 if (IS_ERR(handle)) { 700 if (IS_ERR(handle)) {
701 err = PTR_ERR(handle); 701 err = PTR_ERR(handle);
702 handle = NULL; 702 handle = NULL;
@@ -886,7 +886,7 @@ static int ocfs2_unlink(struct inode *dir,
886 } 886 }
887 } 887 }
888 888
889 handle = ocfs2_start_trans(osb, NULL, OCFS2_UNLINK_CREDITS); 889 handle = ocfs2_start_trans(osb, OCFS2_UNLINK_CREDITS);
890 if (IS_ERR(handle)) { 890 if (IS_ERR(handle)) {
891 status = PTR_ERR(handle); 891 status = PTR_ERR(handle);
892 handle = NULL; 892 handle = NULL;
@@ -1284,7 +1284,7 @@ static int ocfs2_rename(struct inode *old_dir,
1284 } 1284 }
1285 } 1285 }
1286 1286
1287 handle = ocfs2_start_trans(osb, NULL, OCFS2_RENAME_CREDITS); 1287 handle = ocfs2_start_trans(osb, OCFS2_RENAME_CREDITS);
1288 if (IS_ERR(handle)) { 1288 if (IS_ERR(handle)) {
1289 status = PTR_ERR(handle); 1289 status = PTR_ERR(handle);
1290 handle = NULL; 1290 handle = NULL;
@@ -1652,7 +1652,7 @@ static int ocfs2_symlink(struct inode *dir,
1652 } 1652 }
1653 } 1653 }
1654 1654
1655 handle = ocfs2_start_trans(osb, NULL, credits); 1655 handle = ocfs2_start_trans(osb, credits);
1656 if (IS_ERR(handle)) { 1656 if (IS_ERR(handle)) {
1657 status = PTR_ERR(handle); 1657 status = PTR_ERR(handle);
1658 handle = NULL; 1658 handle = NULL;