mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 18:51:56 -04:00
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 <[email protected]> Cc: Trond Myklebust <[email protected]> Cc: Anna Schumaker <[email protected]> Cc: [email protected] Signed-off-by: Al Viro <[email protected]>
This commit is contained in:
parent
5d92b75c75
commit
c4803c497f
3 changed files with 40 additions and 19 deletions
|
|
@ -1519,8 +1519,6 @@ static int smack_inode_getsecurity(const struct inode *inode,
|
|||
* @inode: the object
|
||||
* @buffer: where they go
|
||||
* @buffer_size: size of buffer
|
||||
*
|
||||
* Returns 0 on success, -EINVAL otherwise
|
||||
*/
|
||||
static int smack_inode_listsecurity(struct inode *inode, char *buffer,
|
||||
size_t buffer_size)
|
||||
|
|
|
|||
Loading…
Reference in a new issue