diff options
author | Jeff Layton <jlayton@redhat.com> | 2017-02-24 21:25:22 +0300 |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2017-02-24 23:50:08 +0300 |
commit | 05a45a2db42543c5f1a32e08f545aebbd7cb4790 (patch) | |
tree | 775a5d8620ee7dfafb96bdf6016f2355940625f9 /fs/nfs/callback_xdr.c | |
parent | 4ab495bfe58dfe6b346ae3949a406163152919c8 (diff) | |
download | linux-05a45a2db42543c5f1a32e08f545aebbd7cb4790.tar.xz |
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/nfs/callback_xdr.c')
-rw-r--r-- | fs/nfs/callback_xdr.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/nfs/callback_xdr.c b/fs/nfs/callback_xdr.c index eb094c6011d8..e9836f611d9c 100644 --- a/fs/nfs/callback_xdr.c +++ b/fs/nfs/callback_xdr.c @@ -1083,7 +1083,7 @@ struct svc_version nfs4_callback_version1 = { .vs_proc = nfs4_callback_procedures1, .vs_xdrsize = NFS4_CALLBACK_XDRSIZE, .vs_dispatch = NULL, - .vs_hidden = 1, + .vs_hidden = true, }; struct svc_version nfs4_callback_version4 = { @@ -1092,5 +1092,5 @@ struct svc_version nfs4_callback_version4 = { .vs_proc = nfs4_callback_procedures1, .vs_xdrsize = NFS4_CALLBACK_XDRSIZE, .vs_dispatch = NULL, - .vs_hidden = 1, + .vs_hidden = true, }; |