nfsd4: BUG_ON(!is_spin_locked()) no good on UP kernels
authorJ. Bruce Fields <bfields@redhat.com>
Tue, 12 Jun 2012 12:28:48 +0000 (08:28 -0400)
committerJ. Bruce Fields <bfields@redhat.com>
Thu, 14 Jun 2012 17:54:08 +0000 (13:54 -0400)
commitbc2df47a408f2d64cf81bcfd0f6e3e14c84cb0ab
tree6c5c72d2498fd2003ab9499d1a9859480dd067b1
parent12918b10d59e975fd5241eef03ef9e6d5ea3dcfe
nfsd4: BUG_ON(!is_spin_locked()) no good on UP kernels

Most frequent symptom was a BUG triggering in expire_client, with the
server locking up shortly thereafter.

Introduced by 508dc6e110c6dbdc0bbe84298ccfe22de7538486 "nfsd41:
free_session/free_client must be called under the client_lock".

Cc: stable@kernel.org
Cc: Benny Halevy <bhalevy@tonian.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
fs/nfsd/nfs4state.c