From: Trond Myklebust Date: Wed, 30 Jul 2014 01:34:06 +0000 (-0400) Subject: nfsd: Add reference counting to the lock and open stateids X-Git-Tag: cleanup-for-v3.18~60^2~76 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6011695da2d7c588f2dfe57c318758f0bf1154dd;p=pandora-kernel.git nfsd: Add reference counting to the lock and open stateids When we remove the client_mutex, we'll need to be able to ensure that these objects aren't destroyed while we're not holding locks. Add a ->free() callback to the struct nfs4_stid, so that we can release a reference to the stid without caring about the contents. Signed-off-by: Trond Myklebust Reviewed-by: Christoph Hellwig Signed-off-by: Jeff Layton Signed-off-by: J. Bruce Fields --- Reading git-diff-tree failed