nfsd: add locking to stateowner release
authorJeff Layton <jlayton@primarydata.com>
Wed, 30 Jul 2014 01:34:38 +0000 (21:34 -0400)
committerJ. Bruce Fields <bfields@redhat.com>
Thu, 31 Jul 2014 18:20:27 +0000 (14:20 -0400)
commita819ecc1bbb0c795184c80afeec0e7a6ef508ef5
treea7e671d2cf830fb2b47c09ad086b20cc199f478c
parent882e9d25e11d644b24e578866c688d3f8f0d3712
nfsd: add locking to stateowner release

Once we remove the client_mutex, we'll need to properly protect
the stateowner reference counts using the cl_lock.

Signed-off-by: Jeff Layton <jlayton@primarydata.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
fs/nfsd/nfs4state.c