diff options
author | Jeff Layton <jlayton@redhat.com> | 2017-02-24 19:25:22 +0100 |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2017-02-24 21:50:08 +0100 |
commit | 05a45a2db42543c5f1a32e08f545aebbd7cb4790 (patch) | |
tree | 775a5d8620ee7dfafb96bdf6016f2355940625f9 /fs/nfsd/nfs4proc.c | |
parent | nfsd: remove superfluous KERN_INFO (diff) | |
download | linux-05a45a2db42543c5f1a32e08f545aebbd7cb4790.tar.xz linux-05a45a2db42543c5f1a32e08f545aebbd7cb4790.zip |
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, }; /* |