From: Chuck Lever Date: Fri, 11 Jan 2008 22:09:44 +0000 (-0500) Subject: NLM: Introduce external nlm_host set-up and tear-down functions X-Git-Tag: v2.6.25-rc1~1146^2~20 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=52c4044d00fe703eb3fb18e0d8dfd1c196eb28be;p=pandora-kernel.git NLM: Introduce external nlm_host set-up and tear-down functions We would like to remove the per-lock-operation nlm_lookup_host() call from nlmclnt_proc(). The new architecture pins an nlm_host structure to each NFS client superblock that has the "lock" mount option set. The NFS client passes in the pinned nlm_host structure during each call to nlmclnt_proc(). NFS client unmount processing "puts" the nlm_host so it can be garbage- collected later. This patch introduces externally callable NLM functions that handle mount-time nlm_host set up and tear-down. Signed-off-by: Chuck Lever Signed-off-by: Trond Myklebust --- Reading git-diff-tree failed