diff options
author | Jeff Layton <jlayton@poochiereds.net> | 2015-09-17 08:28:39 -0400 |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2015-10-12 17:31:04 -0400 |
commit | aaf91ec148910e0c2bfd135ea19f870e7196e64f (patch) | |
tree | 0c97000244ac94b79728c8b9cba9ba81e1bec318 /fs/nfsd/nfsfh.c | |
parent | fcaba026a55803dd21523e6e191ba7f59e02a737 (diff) | |
download | op-kernel-dev-aaf91ec148910e0c2bfd135ea19f870e7196e64f.zip op-kernel-dev-aaf91ec148910e0c2bfd135ea19f870e7196e64f.tar.gz |
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/nfsfh.c')
-rw-r--r-- | fs/nfsd/nfsfh.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/fs/nfsd/nfsfh.c b/fs/nfsd/nfsfh.c index 350041a..c1681ce 100644 --- a/fs/nfsd/nfsfh.c +++ b/fs/nfsd/nfsfh.c @@ -631,10 +631,7 @@ fh_put(struct svc_fh *fhp) fh_unlock(fhp); fhp->fh_dentry = NULL; dput(dentry); -#ifdef CONFIG_NFSD_V3 - fhp->fh_pre_saved = 0; - fhp->fh_post_saved = 0; -#endif + fh_clear_wcc(fhp); } fh_drop_write(fhp); if (exp) { |