diff options
author | Benjamin Coddington | 2017-06-20 14:33:44 +0200 |
---|---|---|
committer | Anna Schumaker | 2017-07-13 21:58:04 +0200 |
commit | a7a3b1e971cd806b81ecea3a234d8dae9de0add0 (patch) | |
tree | 8c735f57fc13ffc419e2727f6ca7c670cd0dc841 /fs/nfs/nfs2xdr.c | |
parent | NFS: Set FATTR4_WORD0_TYPE for . and .. entries (diff) | |
download | kernel-qcow2-linux-a7a3b1e971cd806b81ecea3a234d8dae9de0add0.tar.gz kernel-qcow2-linux-a7a3b1e971cd806b81ecea3a234d8dae9de0add0.tar.xz kernel-qcow2-linux-a7a3b1e971cd806b81ecea3a234d8dae9de0add0.zip |
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/nfs2xdr.c')
-rw-r--r-- | fs/nfs/nfs2xdr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfs/nfs2xdr.c b/fs/nfs/nfs2xdr.c index c8a7e98c1371..fe68dabfbde6 100644 --- a/fs/nfs/nfs2xdr.c +++ b/fs/nfs/nfs2xdr.c @@ -939,7 +939,7 @@ static int nfs2_xdr_dec_writeres(struct rpc_rqst *req, struct xdr_stream *xdr, * }; */ int nfs2_decode_dirent(struct xdr_stream *xdr, struct nfs_entry *entry, - int plus) + bool plus) { __be32 *p; int error; |