summaryrefslogtreecommitdiffstats
path: root/fs/nfsd/state.h
diff options
context:
space:
mode:
authorJ. Bruce Fields <bfields@redhat.com>2011-10-12 16:58:21 -0400
committerJ. Bruce Fields <bfields@redhat.com>2011-10-17 17:09:37 -0400
commit3557e43b8f78e5c2347bab31626fdb4d09220ae7 (patch)
tree68ec566deffd794f74554ba06c776de0be088048 /fs/nfsd/state.h
parenta50d2ad1721c0c785e9a74c0003ca044de6868a5 (diff)
downloadop-kernel-dev-3557e43b8f78e5c2347bab31626fdb4d09220ae7.zip
op-kernel-dev-3557e43b8f78e5c2347bab31626fdb4d09220ae7.tar.gz
nfsd4: make is_open_owner boolean
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'fs/nfsd/state.h')
-rw-r--r--fs/nfsd/state.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfsd/state.h b/fs/nfsd/state.h
index aa14f06..87eecfd 100644
--- a/fs/nfsd/state.h
+++ b/fs/nfsd/state.h
@@ -335,13 +335,13 @@ struct nfs4_replay {
struct nfs4_stateowner {
struct list_head so_strhash; /* hash by op_name */
struct list_head so_stateids;
- int so_is_open_owner; /* 1=openowner,0=lockowner */
struct nfs4_client * so_client;
/* after increment in ENCODE_SEQID_OP_TAIL, represents the next
* sequence id expected from the client: */
u32 so_seqid;
struct xdr_netobj so_owner; /* open owner name */
struct nfs4_replay so_replay;
+ bool so_is_open_owner;
};
struct nfs4_openowner {
OpenPOWER on IntegriCloud