Re: [PATCH] xattr handlers: plug a lock leak in simple_xattr_list

From: Greg KH
Date: Wed Feb 03 2016 - 22:08:36 EST


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 <mguzik@xxxxxxxxxx>
> ---
> fs/xattr.c | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)


<formletter>

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.

</formletter>