mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2025-01-09 14:43:16 +00:00
ext4: add missing ext4_journal_stop()
Add missing ext4_journal_stop() in error handling. Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com> Signed-off-by: "Theodore Ts'o" <tytso@mit.edu> Cc: Stephen Tweedie <sct@redhat.com> Cc: adilger@clusterfs.com Cc: Andrew Morton <akpm@linux-foundation.org> Cc: Mingming Cao <cmm@us.ibm.com>
This commit is contained in:
parent
ffad0a44b7
commit
5606bf5d0c
@ -1037,6 +1037,7 @@ int ext4_group_extend(struct super_block *sb, struct ext4_super_block *es,
|
|||||||
ext4_warning(sb, __FUNCTION__,
|
ext4_warning(sb, __FUNCTION__,
|
||||||
"multiple resizers run on filesystem!");
|
"multiple resizers run on filesystem!");
|
||||||
unlock_super(sb);
|
unlock_super(sb);
|
||||||
|
ext4_journal_stop(handle);
|
||||||
err = -EBUSY;
|
err = -EBUSY;
|
||||||
goto exit_put;
|
goto exit_put;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user