diff options
author | Benjamin Coddington <bcodding@redhat.com> | 2017-06-20 14:33:44 +0200 |
---|---|---|
committer | Anna Schumaker <Anna.Schumaker@Netapp.com> | 2017-07-13 21:58:04 +0200 |
commit | a7a3b1e971cd806b81ecea3a234d8dae9de0add0 (patch) | |
tree | 8c735f57fc13ffc419e2727f6ca7c670cd0dc841 /fs/nfs/proc.c | |
parent | NFS: Set FATTR4_WORD0_TYPE for . and .. entries (diff) | |
download | linux-a7a3b1e971cd806b81ecea3a234d8dae9de0add0.tar.xz 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/proc.c')
-rw-r--r-- | fs/nfs/proc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfs/proc.c b/fs/nfs/proc.c index 9872cf676a50..7962e49097c3 100644 --- a/fs/nfs/proc.c +++ b/fs/nfs/proc.c @@ -485,7 +485,7 @@ nfs_proc_rmdir(struct inode *dir, const struct qstr *name) */ static int nfs_proc_readdir(struct dentry *dentry, struct rpc_cred *cred, - u64 cookie, struct page **pages, unsigned int count, int plus) + u64 cookie, struct page **pages, unsigned int count, bool plus) { struct inode *dir = d_inode(dentry); struct nfs_readdirargs arg = { |