From mboxrd@z Thu Jan 1 00:00:00 1970 From: Theodore Ts'o Subject: Re: [patch] ext4 crypto: unlock on error in ext4_set_encryption_metadata() Date: Fri, 8 Jan 2016 15:36:26 -0500 Message-ID: <20160108203626.GD28412@thunk.org> References: <20160105095719.GF23619@mwanda> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Andreas Dilger , linux-ext4@vger.kernel.org, kernel-janitors@vger.kernel.org To: Dan Carpenter Return-path: Received: from imap.thunk.org ([74.207.234.97]:39915 "EHLO imap.thunk.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932533AbcAHUg3 (ORCPT ); Fri, 8 Jan 2016 15:36:29 -0500 Content-Disposition: inline In-Reply-To: <20160105095719.GF23619@mwanda> Sender: linux-ext4-owner@vger.kernel.org List-ID: On Tue, Jan 05, 2016 at 12:57:19PM +0300, Dan Carpenter wrote: > There is a missing unlock if ext4_journal_start() fails. > > Fixes: 374431bae296 ('ext4 crypto: add ioctls to allow backup of encryption metadata') > Signed-off-by: Dan Carpenter Thanks for pointing this out! I've fixed this by folded this into the appropriate commit. - Ted