diff options
| author | Jeff Layton <[email protected]> | 2024-10-30 14:48:46 +0000 |
|---|---|---|
| committer | Chuck Lever <[email protected]> | 2024-11-19 01:23:09 +0000 |
| commit | 10c93b5101ca61d03351da678b395b48678840c2 (patch) | |
| tree | 24537088dc419e039ad54f50653b4a94222cae7f /fs/nfsd/state.h | |
| parent | nfsd: remove nfsd4_session->se_bchannel (diff) | |
| download | kernel-10c93b5101ca61d03351da678b395b48678840c2.tar.gz kernel-10c93b5101ca61d03351da678b395b48678840c2.zip | |
nfsd: make nfsd4_session->se_flags a bool
While this holds the flags from the CREATE_SESSION request, nothing
ever consults them. The only flag used is NFS4_SESSION_DEAD. Make it a
simple bool instead.
Signed-off-by: Jeff Layton <[email protected]>
Signed-off-by: Chuck Lever <[email protected]>
Diffstat (limited to 'fs/nfsd/state.h')
| -rw-r--r-- | fs/nfsd/state.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/fs/nfsd/state.h b/fs/nfsd/state.h index 2485e62347bd..2f735492cf6c 100644 --- a/fs/nfsd/state.h +++ b/fs/nfsd/state.h @@ -296,11 +296,9 @@ struct nfsd4_conn { */ struct nfsd4_session { atomic_t se_ref; + bool se_dead; struct list_head se_hash; /* hash by sessionid */ struct list_head se_perclnt; -/* See SESSION4_PERSIST, etc. for standard flags; this is internal-only: */ -#define NFS4_SESSION_DEAD 0x010 - u32 se_flags; struct nfs4_client *se_client; struct nfs4_sessionid se_sessionid; struct nfsd4_channel_attrs se_fchannel; |
