diff options
author | J. Bruce Fields <bfields@redhat.com> | 2011-09-26 12:53:00 -0400 |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2011-09-26 17:35:27 -0400 |
commit | 36279ac10c3d69372af875f1affafd375db687a9 (patch) | |
tree | 64b9fee1c1795a80f2ca9bc7730fa3b2eec0a2d9 /fs/nfsd/state.h | |
parent | 6136d2b409652b064b2da6d43d5c47cbd1d2cc14 (diff) | |
download | blackbird-obmc-linux-36279ac10c3d69372af875f1affafd375db687a9.tar.gz blackbird-obmc-linux-36279ac10c3d69372af875f1affafd375db687a9.zip |
nfsd4: assume test_stateid always has session
Test_stateid is 4.1-only and only allowed after a sequence operation, so
this check is unnecessary.
Cc: Bryan Schumaker <bjschuma@netapp.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'fs/nfsd/state.h')
-rw-r--r-- | fs/nfsd/state.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfsd/state.h b/fs/nfsd/state.h index 3ed5f99141ec..55a4d6a108a2 100644 --- a/fs/nfsd/state.h +++ b/fs/nfsd/state.h @@ -508,7 +508,7 @@ extern void nfsd4_recdir_purge_old(void); extern int nfsd4_create_clid_dir(struct nfs4_client *clp); extern void nfsd4_remove_clid_dir(struct nfs4_client *clp); extern void release_session_client(struct nfsd4_session *); -extern __be32 nfs4_validate_stateid(stateid_t *, bool); +extern __be32 nfs4_validate_stateid(stateid_t *); extern void nfsd4_purge_closed_stateid(struct nfs4_stateowner *); #endif /* NFSD4_STATE_H */ |