nfs: Move call to security_inode_listsecurity into nfs_listxattr
authorAndreas Gruenbacher <agruenba@redhat.com>
Wed, 2 Dec 2015 13:44:41 +0000 (14:44 +0100)
committerAl Viro <viro@zeniv.linux.org.uk>
Mon, 14 Dec 2015 00:45:47 +0000 (19:45 -0500)
commitc4803c497fbdb37e96af614813a7cfb434b6682a
tree13ea05af560579eb3728a6c046e2657a06a902b0
parent5d92b75c753ae27578ee764df3be650c67fa5877
nfs: Move call to security_inode_listsecurity into nfs_listxattr

Add a nfs_listxattr operation.  Move the call to security_inode_listsecurity
from list operation of the "security.*" xattr handler to nfs_listxattr.

Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
Cc: Trond Myklebust <trond.myklebust@primarydata.com>
Cc: Anna Schumaker <anna.schumaker@netapp.com>
Cc: linux-nfs@vger.kernel.org
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/nfs/nfs4proc.c
fs/xattr.c
security/smack/smack_lsm.c