NFSv4: Further reduce the footprint of the idmapper
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Wed, 8 Feb 2012 18:39:15 +0000 (13:39 -0500)
committerBen Hutchings <ben@decadent.org.uk>
Wed, 25 Jul 2012 03:11:02 +0000 (04:11 +0100)
commit9046e979413d3a05057ae9995cebf93eed24f80c
tree4057f252f225b8c44016344a4f47d0753e954a9e
parent805292ea678d4855d1f12db5f1c1d1444b92d9d7
NFSv4: Further reduce the footprint of the idmapper

commit 685f50f9188ac1e8244d0340a9d6ea36b6136cec upstream.

Don't allocate the legacy idmapper tables until we actually need
them.

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Reviewed-by: Jeff Layton <jlayton@redhat.com>
[bwh: Backported to 3.2: adjust context in nfs_idmap_delete()]
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
fs/nfs/idmap.c