Merge tag 'ext4_for_linus_stable' of git://git.kernel.org/pub/scm/linux/kernel/git/tytso/ext4
Pull ext4 bug fixes from Ted Ts'o: "Ext4 bug fixes, including a regression fix" * tag 'ext4_for_linus_stable' of git://git.kernel.org/pub/scm/linux/kernel/git/tytso/ext4: ext4: clarify impact of 'commit' mount option ext4: fix unused-but-set-variable warning in ext4_add_entry() jbd2: fix kernel-doc notation warning ext4: use RCU API in debug_print_tree ext4: validate the debug_want_extra_isize mount option at parse time ext4: reserve revoke credits in __ext4_new_inode ext4: unlock on error in ext4_expand_extra_isize() ext4: optimize __ext4_check_dir_entry() ext4: check for directory entries too close to block end ext4: fix ext4_empty_dir() for directories with holes
This commit is contained in:
@@ -5692,7 +5692,7 @@ int ext4_expand_extra_isize(struct inode *inode,
|
||||
error = ext4_journal_get_write_access(handle, iloc->bh);
|
||||
if (error) {
|
||||
brelse(iloc->bh);
|
||||
goto out_stop;
|
||||
goto out_unlock;
|
||||
}
|
||||
|
||||
error = __ext4_expand_extra_isize(inode, new_extra_isize, iloc,
|
||||
@@ -5702,8 +5702,8 @@ int ext4_expand_extra_isize(struct inode *inode,
|
||||
if (!error)
|
||||
error = rc;
|
||||
|
||||
out_unlock:
|
||||
ext4_write_unlock_xattr(inode, &no_expand);
|
||||
out_stop:
|
||||
ext4_journal_stop(handle);
|
||||
return error;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user