From: J. Bruce Fields Date: Wed, 12 Oct 2011 20:58:21 +0000 (-0400) Subject: nfsd4: make is_open_owner boolean X-Git-Tag: firefly_0821_release~3680^2~4224^2~14 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=3557e43b8f78e5c2347bab31626fdb4d09220ae7;p=firefly-linux-kernel-4.4.55.git nfsd4: make is_open_owner boolean Signed-off-by: J. Bruce Fields --- 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 { 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 {