]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
nfsd4: make is_open_owner boolean
authorJ. Bruce Fields <bfields@redhat.com>
Wed, 12 Oct 2011 20:58:21 +0000 (16:58 -0400)
committerJ. Bruce Fields <bfields@redhat.com>
Mon, 17 Oct 2011 21:09:37 +0000 (17:09 -0400)
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
fs/nfsd/state.h

index aa14f06af2df47b75396447e5e03cf45ae0893e3..87eecfd9b9688a1ba1db83b85b26bc55593c5230 100644 (file)
@@ -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 {