NFS: Force the legacy idmapper to be single threaded
authorBryan Schumaker <bjschuma@netapp.com>
Wed, 20 Jun 2012 18:35:28 +0000 (14:35 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 16 Jul 2012 16:04:09 +0000 (09:04 -0700)
commitd5b8efa118c7bf1b88e0f6f0185fbdd3c0ee67ed
tree3cddec5b63740d5b01a86a7b70b706bd722afcc2
parent2f0d20928b7360267ec80bb393971752f2351463
NFS: Force the legacy idmapper to be single threaded

commit b1027439dff844675f6c0df97a1b1d190791a699 upstream.

It was initially coded under the assumption that there would only be one
request at a time, so use a lock to enforce this requirement..

Signed-off-by: Bryan Schumaker <bjschuma@netapp.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/nfs/idmap.c