From: J. Bruce Fields Date: Tue, 15 Jul 2008 19:05:45 +0000 (-0400) Subject: lockd: get host reference in nlmsvc_create_block() instead of callers X-Git-Tag: v2.6.27-rc1~961^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=560de0e65904db392e1c443c4bf5ee750573336b;p=pandora-kernel.git lockd: get host reference in nlmsvc_create_block() instead of callers It may not be obvious (till you look at the definition of nlm_alloc_call()) that a function like nlmsvc_create_block() should consume a reference on success or failure, so I find it clearer if it takes the reference it needs itself. And both callers already do this immediately before the call anyway. Signed-off-by: J. Bruce Fields --- Reading git-diff-tree failed