diff options
author | J. Bruce Fields <bfields@redhat.com> | 2011-08-22 10:07:12 -0400 |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2011-08-27 14:21:25 -0400 |
commit | 28dde241cc65c9464b7627d9a9ed3a66e4df2586 (patch) | |
tree | 04493c82150823594091393b52db2153286fe6b0 /fs/nfsd/state.h | |
parent | ff194bd95959ea9047d536b4f4ad6a992754e48d (diff) |
nfsd4: remove HAS_SESSION
This flag doesn't really buy us anything.
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'fs/nfsd/state.h')
-rw-r--r-- | fs/nfsd/state.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/nfsd/state.h b/fs/nfsd/state.h index 12c1b1ef52ec..f02badd70cf2 100644 --- a/fs/nfsd/state.h +++ b/fs/nfsd/state.h | |||
@@ -439,7 +439,6 @@ struct nfs4_stateid { | |||
439 | }; | 439 | }; |
440 | 440 | ||
441 | /* flags for preprocess_seqid_op() */ | 441 | /* flags for preprocess_seqid_op() */ |
442 | #define HAS_SESSION 0x00000001 | ||
443 | #define CONFIRM 0x00000002 | 442 | #define CONFIRM 0x00000002 |
444 | #define OPEN_STATE 0x00000004 | 443 | #define OPEN_STATE 0x00000004 |
445 | #define LOCK_STATE 0x00000008 | 444 | #define LOCK_STATE 0x00000008 |
@@ -476,7 +475,7 @@ extern void nfsd4_recdir_purge_old(void); | |||
476 | extern int nfsd4_create_clid_dir(struct nfs4_client *clp); | 475 | extern int nfsd4_create_clid_dir(struct nfs4_client *clp); |
477 | extern void nfsd4_remove_clid_dir(struct nfs4_client *clp); | 476 | extern void nfsd4_remove_clid_dir(struct nfs4_client *clp); |
478 | extern void release_session_client(struct nfsd4_session *); | 477 | extern void release_session_client(struct nfsd4_session *); |
479 | extern __be32 nfs4_validate_stateid(stateid_t *, int); | 478 | extern __be32 nfs4_validate_stateid(stateid_t *, bool); |
480 | 479 | ||
481 | static inline void | 480 | static inline void |
482 | nfs4_put_stateowner(struct nfs4_stateowner *so) | 481 | nfs4_put_stateowner(struct nfs4_stateowner *so) |