Thread (4 messages) 4 messages, 3 authors, 2012-01-05

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

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help