From: Djalal Harouni Date: Wed, 4 Jan 2012 22:09:52 +0000 (-0500) Subject: ext4: add missing ext4_resize_end on error paths X-Git-Tag: v3.3-rc1~114^2^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=014a1770371a028d22f364718c805f4216911ecd;p=pandora-kernel.git 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 Signed-off-by: "Theodore Ts'o" --- Reading git-diff-tree failed