From: Al Viro Date: Wed, 25 Jul 2012 20:39:50 +0000 (+0400) Subject: lockd: shift grabbing a reference to nlm_host into nlm_alloc_call() X-Git-Tag: v3.6-rc1~18^2~32 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=446945ab9a82515af4b099107eda27050e077c58;p=pandora-kernel.git lockd: shift grabbing a reference to nlm_host into nlm_alloc_call() It's used both for client and server hosts; we can't do nlmclnt_release_host() on failure exits, since the host might need nlmsvc_release_host(), with BUG_ON() for calling the wrong one. Makes life simpler for callers, actually... Signed-off-by: Al Viro --- Reading git-diff-tree failed