summaryrefslogtreecommitdiffstats
path: root/fs/nfsd/nfs4state.c
diff options
context:
space:
mode:
authorJ. Bruce Fields <bfields@citi.umich.edu>2009-02-21 22:36:16 +0100
committerJ. Bruce Fields <bfields@citi.umich.edu>2009-03-18 22:38:37 +0100
commit6150ef0dc7f734366d297e2eb5697ae458a1ea19 (patch)
tree0a11653b66953b808d2a1a98dc8da0f649c875f3 /fs/nfsd/nfs4state.c
parentnfsd4: fail when delegreturn gets a non-delegation stateid (diff)
downloadlinux-6150ef0dc7f734366d297e2eb5697ae458a1ea19.tar.xz
linux-6150ef0dc7f734366d297e2eb5697ae458a1ea19.zip
nfsd4: remove unused CHECK_FH flag
All users now pass this, so it's meaningless. Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
Diffstat (limited to '')
-rw-r--r--fs/nfsd/nfs4state.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfsd/nfs4state.c b/fs/nfsd/nfs4state.c
index 6ae28e606afc..5957f7766bdc 100644
--- a/fs/nfsd/nfs4state.c
+++ b/fs/nfsd/nfs4state.c
@@ -2091,7 +2091,7 @@ nfs4_preprocess_stateid_op(struct svc_fh *current_fh, stateid_t *stateid, int fl
stp = find_stateid(stateid, flags);
if (!stp)
goto out;
- if ((flags & CHECK_FH) && nfs4_check_fh(current_fh, stp))
+ if (nfs4_check_fh(current_fh, stp))
goto out;
if (!stp->st_stateowner->so_confirmed)
goto out;