nfsd: protect the close_lru list and oo_last_closed_stid with client_lock
authorJeff Layton <jlayton@primarydata.com>
Wed, 30 Jul 2014 12:27:11 +0000 (08:27 -0400)
committerJ. Bruce Fields <bfields@redhat.com>
Fri, 1 Aug 2014 20:28:24 +0000 (16:28 -0400)
commit217526e7ecc9f6f243e976772e81eab7ab986a4c
tree07a271d7b7592f682ad8ff8ff08ddd2c61bfc860
parent0a880a28f8add9b134a26f6e058c40199a2ffbc8
nfsd: protect the close_lru list and oo_last_closed_stid with client_lock

Currently, it's protected by the client_mutex. Move it so that the list
and the fields in the openowner are protected by the client_lock.

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