nfsd: use get_acl and ->set_acl
Remove the boilerplate code to marshall and unmarhall ACL objects into xattrs and operate on the posix_acl objects directly. Also move all the ACL handling code into nfs?acl.c where it belongs. Signed-off-by:Christoph Hellwig <hch@lst.de> Signed-off-by:
Al Viro <viro@zeniv.linux.org.uk>
Showing
- fs/nfsd/acl.h 7 additions, 9 deletionsfs/nfsd/acl.h
- fs/nfsd/nfs2acl.c 40 additions, 32 deletionsfs/nfsd/nfs2acl.c
- fs/nfsd/nfs3acl.c 33 additions, 29 deletionsfs/nfsd/nfs3acl.c
- fs/nfsd/nfs4acl.c 92 additions, 28 deletionsfs/nfsd/nfs4acl.c
- fs/nfsd/nfs4proc.c 1 addition, 0 deletionsfs/nfsd/nfs4proc.c
- fs/nfsd/vfs.c 0 additions, 241 deletionsfs/nfsd/vfs.c
- fs/nfsd/vfs.h 0 additions, 8 deletionsfs/nfsd/vfs.h
Please register or sign in to comment