Skip to content

Commit 7c14905

Browse files
author
J. Bruce Fields
committed
nfsd: restore NFSv3 ACL support
An error in e333f3b left the nfsd_acl_program->pg_vers array empty, which effectively turned off the server's support for NFSv3 ACLs. Fixes: e333f3b "nfsd: Allow containers to set supported nfs versions" Cc: [email protected] Cc: Trond Myklebust <[email protected]> Signed-off-by: J. Bruce Fields <[email protected]>
1 parent a2e2f2d commit 7c14905

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

fs/nfsd/nfssvc.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,12 +95,11 @@ static const struct svc_version *nfsd_acl_version[] = {
9595

9696
#define NFSD_ACL_MINVERS 2
9797
#define NFSD_ACL_NRVERS ARRAY_SIZE(nfsd_acl_version)
98-
static const struct svc_version *nfsd_acl_versions[NFSD_ACL_NRVERS];
9998

10099
static struct svc_program nfsd_acl_program = {
101100
.pg_prog = NFS_ACL_PROGRAM,
102101
.pg_nvers = NFSD_ACL_NRVERS,
103-
.pg_vers = nfsd_acl_versions,
102+
.pg_vers = nfsd_acl_version,
104103
.pg_name = "nfsacl",
105104
.pg_class = "nfsd",
106105
.pg_stats = &nfsd_acl_svcstats,

0 commit comments

Comments
 (0)