diff options
author | Jeff Layton <jlayton@redhat.com> | 2017-02-24 13:25:22 -0500 |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2017-02-24 15:50:08 -0500 |
commit | 05a45a2db42543c5f1a32e08f545aebbd7cb4790 (patch) | |
tree | 775a5d8620ee7dfafb96bdf6016f2355940625f9 /fs/nfsd/nfs4proc.c | |
parent | 4ab495bfe58dfe6b346ae3949a406163152919c8 (diff) |
sunrpc: turn bitfield flags in svc_version into bools
It's just simpler to read this way, IMO. Also, no need to explicitly
set vs_hidden to false in the nfsacl ones.
Signed-off-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'fs/nfsd/nfs4proc.c')
-rw-r--r-- | fs/nfsd/nfs4proc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfsd/nfs4proc.c b/fs/nfsd/nfs4proc.c index 02750a4c8770..89e582fa58cd 100644 --- a/fs/nfsd/nfs4proc.c +++ b/fs/nfsd/nfs4proc.c @@ -2542,7 +2542,7 @@ struct svc_version nfsd_version4 = { .vs_proc = nfsd_procedures4, .vs_dispatch = nfsd_dispatch, .vs_xdrsize = NFS4_SVC_XDRSIZE, - .vs_rpcb_optnl = 1, + .vs_rpcb_optnl = true, }; /* |