diff options
author | Christoph Hellwig <hch@infradead.org> | 2013-12-20 14:16:53 +0100 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2014-01-26 14:26:20 +0100 |
commit | 013cdf1088d7235da9477a2375654921d9b9ba9f (patch) | |
tree | 56a89d0a58282c517f6c5a8e68e3d341184e40d1 /fs/nfs/nfs3super.c | |
parent | gfs2: use generic posix ACL infrastructure (diff) | |
download | linux-013cdf1088d7235da9477a2375654921d9b9ba9f.tar.xz linux-013cdf1088d7235da9477a2375654921d9b9ba9f.zip |
nfs: use generic posix ACL infrastructure for v3 Posix ACLs
This causes a small behaviour change in that we don't bother to set
ACLs on file creation if the mode bit can express the access permissions
fully, and thus behaving identical to local filesystems.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/nfs/nfs3super.c')
-rw-r--r-- | fs/nfs/nfs3super.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/fs/nfs/nfs3super.c b/fs/nfs/nfs3super.c index cc471c725230..d6a98949af19 100644 --- a/fs/nfs/nfs3super.c +++ b/fs/nfs/nfs3super.c @@ -12,6 +12,9 @@ static struct nfs_subversion nfs_v3 = { .rpc_vers = &nfs_version3, .rpc_ops = &nfs_v3_clientops, .sops = &nfs_sops, +#ifdef CONFIG_NFS_V3_ACL + .xattr = nfs3_xattr_handlers, +#endif }; static int __init init_nfs_v3(void) |