]> git.baikalelectronics.ru Git - kernel.git/commit
xattr handlers: plug a lock leak in simple_xattr_list
authorMateusz Guzik <mguzik@redhat.com>
Thu, 4 Feb 2016 01:56:30 +0000 (02:56 +0100)
committerAl Viro <viro@zeniv.linux.org.uk>
Sat, 20 Feb 2016 05:15:51 +0000 (00:15 -0500)
commitf372ab43903250a6828ac68aa84e4bd3661b2d99
tree9ea3ec020202ebc2c38f581f410f201abad7db28
parentcc75db45d8a10b7bdd1313f47ba767c0b3ae0cda
xattr handlers: plug a lock leak in simple_xattr_list

The code could leak xattrs->lock on error.

Problem introduced with 455db337f9c36bb39 "tmpfs: listxattr should
include POSIX ACL xattrs".

Signed-off-by: Mateusz Guzik <mguzik@redhat.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/xattr.c