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/vfs.c | |
parent | fcaba026a55803dd21523e6e191ba7f59e02a737 (diff) |
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/vfs.c')
-rw-r--r-- | fs/nfsd/vfs.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/nfsd/vfs.c b/fs/nfsd/vfs.c index 45c04979e7b3..994d66fbb446 100644 --- a/fs/nfsd/vfs.c +++ b/fs/nfsd/vfs.c | |||
@@ -1631,7 +1631,7 @@ nfsd_rename(struct svc_rqst *rqstp, struct svc_fh *ffhp, char *fname, int flen, | |||
1631 | /* cannot use fh_lock as we need deadlock protective ordering | 1631 | /* cannot use fh_lock as we need deadlock protective ordering |
1632 | * so do it by hand */ | 1632 | * so do it by hand */ |
1633 | trap = lock_rename(tdentry, fdentry); | 1633 | trap = lock_rename(tdentry, fdentry); |
1634 | ffhp->fh_locked = tfhp->fh_locked = 1; | 1634 | ffhp->fh_locked = tfhp->fh_locked = true; |
1635 | fill_pre_wcc(ffhp); | 1635 | fill_pre_wcc(ffhp); |
1636 | fill_pre_wcc(tfhp); | 1636 | fill_pre_wcc(tfhp); |
1637 | 1637 | ||
@@ -1681,7 +1681,7 @@ nfsd_rename(struct svc_rqst *rqstp, struct svc_fh *ffhp, char *fname, int flen, | |||
1681 | fill_post_wcc(ffhp); | 1681 | fill_post_wcc(ffhp); |
1682 | fill_post_wcc(tfhp); | 1682 | fill_post_wcc(tfhp); |
1683 | unlock_rename(tdentry, fdentry); | 1683 | unlock_rename(tdentry, fdentry); |
1684 | ffhp->fh_locked = tfhp->fh_locked = 0; | 1684 | ffhp->fh_locked = tfhp->fh_locked = false; |
1685 | fh_drop_write(ffhp); | 1685 | fh_drop_write(ffhp); |
1686 | 1686 | ||
1687 | out: | 1687 | out: |