summaryrefslogtreecommitdiffstats
path: root/fs/nfsd/xdr4.h
diff options
context:
space:
mode:
authorJeff Layton <jlayton@poochiereds.net>2015-09-17 08:28:39 -0400
committerJ. Bruce Fields <bfields@redhat.com>2015-10-12 17:31:04 -0400
commitaaf91ec148910e0c2bfd135ea19f870e7196e64f (patch)
tree0c97000244ac94b79728c8b9cba9ba81e1bec318 /fs/nfsd/xdr4.h
parentfcaba026a55803dd21523e6e191ba7f59e02a737 (diff)
downloadlinux-stable-aaf91ec148910e0c2bfd135ea19f870e7196e64f.tar.gz
linux-stable-aaf91ec148910e0c2bfd135ea19f870e7196e64f.tar.bz2
linux-stable-aaf91ec148910e0c2bfd135ea19f870e7196e64f.zip
nfsd: switch unsigned char flags in svc_fh to bools
...just for clarity. Signed-off-by: Jeff Layton <jeff.layton@primarydata.com> Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'fs/nfsd/xdr4.h')
-rw-r--r--fs/nfsd/xdr4.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfsd/xdr4.h b/fs/nfsd/xdr4.h
index 9f991007a578..ce7362c88b48 100644
--- a/fs/nfsd/xdr4.h
+++ b/fs/nfsd/xdr4.h
@@ -632,7 +632,7 @@ static inline void
set_change_info(struct nfsd4_change_info *cinfo, struct svc_fh *fhp)
{
BUG_ON(!fhp->fh_pre_saved);
- cinfo->atomic = fhp->fh_post_saved;
+ cinfo->atomic = (u32)fhp->fh_post_saved;
cinfo->change_supported = IS_I_VERSION(d_inode(fhp->fh_dentry));
cinfo->before_change = fhp->fh_pre_change;