diff options
| author | J. Bruce Fields <bfields@redhat.com> | 2011-10-12 16:58:21 -0400 |
|---|---|---|
| committer | J. Bruce Fields <bfields@redhat.com> | 2011-10-17 17:09:37 -0400 |
| commit | 3557e43b8f78e5c2347bab31626fdb4d09220ae7 (patch) | |
| tree | 68ec566deffd794f74554ba06c776de0be088048 | |
| parent | a50d2ad1721c0c785e9a74c0003ca044de6868a5 (diff) | |
nfsd4: make is_open_owner boolean
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
| -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 aa14f06af2df..87eecfd9b968 100644 --- a/fs/nfsd/state.h +++ b/fs/nfsd/state.h | |||
| @@ -335,13 +335,13 @@ struct nfs4_replay { | |||
| 335 | struct nfs4_stateowner { | 335 | struct nfs4_stateowner { |
| 336 | struct list_head so_strhash; /* hash by op_name */ | 336 | struct list_head so_strhash; /* hash by op_name */ |
| 337 | struct list_head so_stateids; | 337 | struct list_head so_stateids; |
| 338 | int so_is_open_owner; /* 1=openowner,0=lockowner */ | ||
| 339 | struct nfs4_client * so_client; | 338 | struct nfs4_client * so_client; |
| 340 | /* after increment in ENCODE_SEQID_OP_TAIL, represents the next | 339 | /* after increment in ENCODE_SEQID_OP_TAIL, represents the next |
| 341 | * sequence id expected from the client: */ | 340 | * sequence id expected from the client: */ |
| 342 | u32 so_seqid; | 341 | u32 so_seqid; |
| 343 | struct xdr_netobj so_owner; /* open owner name */ | 342 | struct xdr_netobj so_owner; /* open owner name */ |
| 344 | struct nfs4_replay so_replay; | 343 | struct nfs4_replay so_replay; |
| 344 | bool so_is_open_owner; | ||
| 345 | }; | 345 | }; |
| 346 | 346 | ||
| 347 | struct nfs4_openowner { | 347 | struct nfs4_openowner { |
