From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Wed, 4 Jan 2012 21:23:46 -0500 From: Ted Ts'o To: Djalal Harouni Cc: Andreas Dilger , linux-ext4@vger.kernel.org, linux-kernel@vger.kernel.org, stable@vger.kernel.org Subject: Re: [PATCH] fs/ext4: add missing ext4_resize_end Message-ID: <20120105022346.GB24494@thunk.org> References: <20111222150057.GA10845@dztty> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20111222150057.GA10845@dztty> Sender: linux-kernel-owner@vger.kernel.org List-ID: 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 Applied, thanks. - Ted