]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd311c842cdeb43808fe34c500812a46ba55c4db3
tree07a271d7b7592f682ad8ff8ff08ddd2c61bfc860
parent9fbf5a4c37a089ba8e09e7a5563bff9a8daaa1f5
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