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)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Wed, 20 Jun 2012 18:38:11 +0000 (14:38 -0400)
commitb1027439dff844675f6c0df97a1b1d190791a699
treefe844c6abe6590194a9e7223325254b25f063459
parent1a0de48ae56b5cdb9a46b3d3a0b578dd7f787f22
NFS: Force the legacy idmapper to be single threaded

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>
CC: stable@vger.kernel.org [3.4+]
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/idmap.c