NFSv4: Fix up locking for nfs4_state_owner
[linux-2.6-block.git] / fs / nfs / nfs4_fs.h
index 5c0dd26d09855860c1cebfb4c4c5f3cc2d6d3191..78a53f5a9f18ae629606e1b9ddabb441baa72f28 100644 (file)
@@ -126,6 +126,7 @@ static inline void nfs_confirm_seqid(struct nfs_seqid_counter *seqid, int status
  * semantics by allowing the server to identify replayed requests.
  */
 struct nfs4_state_owner {
+       spinlock_t           so_lock;
        struct list_head     so_list;    /* per-clientid list of state_owners */
        struct nfs4_client   *so_client;
        u32                  so_id;      /* 32-bit identifier, unique */