Re: [PATCH] fs/ext4: add missing ext4_resize_end
From: Ted Ts'o <tytso@mit.edu>
Date: 2012-01-05 02:23:51
Also in:
lkml, stable
From: Ted Ts'o <tytso@mit.edu>
Date: 2012-01-05 02:23:51
Also in:
lkml, stable
On Thu, Dec 22, 2011 at 04:00:57PM +0100, Djalal Harouni wrote:
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 <redacted>
Applied, thanks. - Ted