diff options
author | Benjamin Coddington <bcodding@redhat.com> | 2017-06-20 08:33:44 -0400 |
---|---|---|
committer | Anna Schumaker <Anna.Schumaker@Netapp.com> | 2017-07-13 15:58:04 -0400 |
commit | a7a3b1e971cd806b81ecea3a234d8dae9de0add0 (patch) | |
tree | 8c735f57fc13ffc419e2727f6ca7c670cd0dc841 /fs/nfs/nfs3xdr.c | |
parent | 18fe6a23e3114a6737471570753b708ff293b9de (diff) | |
download | linux-a7a3b1e971cd806b81ecea3a234d8dae9de0add0.tar.bz2 |
NFS: convert flags to bool
NFS uses some int, and unsigned int :1, and bool as flags in structs and
args. Assert the preference for uniformly replacing these with the bool
type.
Signed-off-by: Benjamin Coddington <bcodding@redhat.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Diffstat (limited to 'fs/nfs/nfs3xdr.c')
-rw-r--r-- | fs/nfs/nfs3xdr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfs/nfs3xdr.c b/fs/nfs/nfs3xdr.c index 670eddb3ae36..e82c9e553224 100644 --- a/fs/nfs/nfs3xdr.c +++ b/fs/nfs/nfs3xdr.c @@ -1991,7 +1991,7 @@ out_status: * }; */ int nfs3_decode_dirent(struct xdr_stream *xdr, struct nfs_entry *entry, - int plus) + bool plus) { struct nfs_entry old = *entry; __be32 *p; |