diff options
Diffstat (limited to 'fs/reiserfs/namei.c')
-rw-r--r-- | fs/reiserfs/namei.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/fs/reiserfs/namei.c b/fs/reiserfs/namei.c index b8a873df089d..ebae36db94a0 100644 --- a/fs/reiserfs/namei.c +++ b/fs/reiserfs/namei.c | |||
@@ -686,7 +686,7 @@ static int reiserfs_create(struct inode *dir, struct dentry *dentry, umode_t mod | |||
686 | d_instantiate(dentry, inode); | 686 | d_instantiate(dentry, inode); |
687 | retval = journal_end(&th); | 687 | retval = journal_end(&th); |
688 | 688 | ||
689 | out_failed: | 689 | out_failed: |
690 | reiserfs_write_unlock(dir->i_sb); | 690 | reiserfs_write_unlock(dir->i_sb); |
691 | return retval; | 691 | return retval; |
692 | } | 692 | } |
@@ -767,7 +767,7 @@ static int reiserfs_mknod(struct inode *dir, struct dentry *dentry, umode_t mode | |||
767 | d_instantiate(dentry, inode); | 767 | d_instantiate(dentry, inode); |
768 | retval = journal_end(&th); | 768 | retval = journal_end(&th); |
769 | 769 | ||
770 | out_failed: | 770 | out_failed: |
771 | reiserfs_write_unlock(dir->i_sb); | 771 | reiserfs_write_unlock(dir->i_sb); |
772 | return retval; | 772 | return retval; |
773 | } | 773 | } |
@@ -958,11 +958,11 @@ static int reiserfs_rmdir(struct inode *dir, struct dentry *dentry) | |||
958 | 958 | ||
959 | retval = journal_end(&th); | 959 | retval = journal_end(&th); |
960 | reiserfs_check_path(&path); | 960 | reiserfs_check_path(&path); |
961 | out_rmdir: | 961 | out_rmdir: |
962 | reiserfs_write_unlock(dir->i_sb); | 962 | reiserfs_write_unlock(dir->i_sb); |
963 | return retval; | 963 | return retval; |
964 | 964 | ||
965 | end_rmdir: | 965 | end_rmdir: |
966 | /* | 966 | /* |
967 | * we must release path, because we did not call | 967 | * we must release path, because we did not call |
968 | * reiserfs_cut_from_item, or reiserfs_cut_from_item does not | 968 | * reiserfs_cut_from_item, or reiserfs_cut_from_item does not |
@@ -1064,13 +1064,13 @@ static int reiserfs_unlink(struct inode *dir, struct dentry *dentry) | |||
1064 | reiserfs_write_unlock(dir->i_sb); | 1064 | reiserfs_write_unlock(dir->i_sb); |
1065 | return retval; | 1065 | return retval; |
1066 | 1066 | ||
1067 | end_unlink: | 1067 | end_unlink: |
1068 | pathrelse(&path); | 1068 | pathrelse(&path); |
1069 | err = journal_end(&th); | 1069 | err = journal_end(&th); |
1070 | reiserfs_check_path(&path); | 1070 | reiserfs_check_path(&path); |
1071 | if (err) | 1071 | if (err) |
1072 | retval = err; | 1072 | retval = err; |
1073 | out_unlink: | 1073 | out_unlink: |
1074 | reiserfs_write_unlock(dir->i_sb); | 1074 | reiserfs_write_unlock(dir->i_sb); |
1075 | return retval; | 1075 | return retval; |
1076 | } | 1076 | } |
@@ -1164,7 +1164,7 @@ static int reiserfs_symlink(struct inode *parent_dir, | |||
1164 | unlock_new_inode(inode); | 1164 | unlock_new_inode(inode); |
1165 | d_instantiate(dentry, inode); | 1165 | d_instantiate(dentry, inode); |
1166 | retval = journal_end(&th); | 1166 | retval = journal_end(&th); |
1167 | out_failed: | 1167 | out_failed: |
1168 | reiserfs_write_unlock(parent_dir->i_sb); | 1168 | reiserfs_write_unlock(parent_dir->i_sb); |
1169 | return retval; | 1169 | return retval; |
1170 | } | 1170 | } |