Return-Path: Date: Wed, 3 Feb 2016 19:08:27 -0800 From: Greg KH To: Mateusz Guzik Cc: Alexander Viro , linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, stable@vger.kernel.org, Andreas Gruenbacher , James Morris Subject: Re: [PATCH] xattr handlers: plug a lock leak in simple_xattr_list Message-ID: <20160204030827.GC13219@kroah.com> References: <1454550990-30153-1-git-send-email-mguzik@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1454550990-30153-1-git-send-email-mguzik@redhat.com> Sender: linux-fsdevel-owner@vger.kernel.org List-ID: On Thu, Feb 04, 2016 at 02:56:30AM +0100, Mateusz Guzik wrote: > The code could leak xattrs->lock on error. > > Problem introduced with 786534b92f3ce68f4 "tmpfs: listxattr should > include POSIX ACL xattrs". > > Signed-off-by: Mateusz Guzik > --- > fs/xattr.c | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) This is not the correct way to submit patches for inclusion in the stable kernel tree. Please read Documentation/stable_kernel_rules.txt for how to do this properly.