]> 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)
commit1e700853756e8fb663416bdb5de721ff00f4a2b1
tree9ea3ec020202ebc2c38f581f410f201abad7db28
parent253680ee9716b249d4e637d593ae9cc3711e80d2
xattr handlers: plug a lock leak in simple_xattr_list

The code could leak xattrs->lock on error.

Problem introduced with 9ce4ad8c7ae21dce0 "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