NFS: Use raw_write_seqcount_begin/end int nfs4_reclaim_open_state
authorTrond Myklebust <trond.myklebust@primarydata.com>
Thu, 5 Jun 2014 14:42:37 +0000 (10:42 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 7 Jul 2014 01:57:28 +0000 (18:57 -0700)
commit02c098bcaa5f7bf7f185ea9abca526b4d5cf7131
treea8ee2c00c5732789b6dd8d2f35b5e79761efa2c7
parent98d9b492bea9a998d8dcbf0f0ff0577ef9343ebd
NFS: Use raw_write_seqcount_begin/end int nfs4_reclaim_open_state

commit abbec2da13f0e4c5d9b78b7e2c025a3e617228ba upstream.

The addition of lockdep code to write_seqcount_begin/end has lead to
a bunch of false positive claims of ABBA deadlocks with the so_lock
spinlock. Audits show that this simply cannot happen because the
read side code does not spin while holding so_lock.

Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/nfs/nfs4state.c