Skip to content

Commit

Permalink
ext4: add missing ext4_journal_stop()
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Akinobu Mita authored and Theodore Ts'o committed Feb 25, 2008
1 parent ffad0a4 commit 5606bf5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions fs/ext4/resize.c
Original file line number Diff line number Diff line change
Expand Up @@ -1037,6 +1037,7 @@ int ext4_group_extend(struct super_block *sb, struct ext4_super_block *es,
ext4_warning(sb, __FUNCTION__,
"multiple resizers run on filesystem!");
unlock_super(sb);
ext4_journal_stop(handle);
err = -EBUSY;
goto exit_put;
}
Expand Down

0 comments on commit 5606bf5

Please sign in to comment.