diff options
author | Djalal Harouni <tixxdz@opendz.org> | 2012-01-04 17:09:52 -0500 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2012-01-04 17:09:52 -0500 |
commit | 014a1770371a028d22f364718c805f4216911ecd (patch) | |
tree | 2b1dfac79cb6a23a21e9496af29849956d929a3e /fs/xfs/xfs_alloc_btree.c | |
parent | 61f296cc49751f1dc992039229d12b0de7e0c2ae (diff) | |
download | op-kernel-dev-014a1770371a028d22f364718c805f4216911ecd.zip op-kernel-dev-014a1770371a028d22f364718c805f4216911ecd.tar.gz |
ext4: add missing ext4_resize_end on error paths
Online resize ioctls 'EXT4_IOC_GROUP_EXTEND' and 'EXT4_IOC_GROUP_ADD'
call ext4_resize_begin() to check permissions and to set the
EXT4_RESIZING bit lock, they do their work and they must finish with
ext4_resize_end() which calls clear_bit_unlock() to unlock and to
avoid -EBUSY errors for the next resize operations.
This patch adds the missing ext4_resize_end() calls on error paths.
Patch tested.
Cc: stable@vger.kernel.org
Signed-off-by: Djalal Harouni <tixxdz@opendz.org>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'fs/xfs/xfs_alloc_btree.c')
0 files changed, 0 insertions, 0 deletions