From: Pavel Emelyanov Date: Wed, 6 Oct 2010 09:45:56 +0000 (+0400) Subject: sunrpc: Don't return NULL from rpcb_create X-Git-Tag: v2.6.37-rc1~113^2~21 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c636b572e00e38855dc7a56a0fa438dd835f39de;p=pandora-kernel.git sunrpc: Don't return NULL from rpcb_create > The reason for this is in the future, we may want to support additional > address family types. We should, therefore, ensure that every piece of > code that is sensitive to address families fail in some orderly manner > to let developers know where a change is needed. Makes sense. I was under impression, that AF-s other than INET are not cared about at all :( Here's a fixed version of the patch. Log: Its callers check for ERR_PTR. Signed-off-by: Pavel Emelyanov Reviewed-by: Chuck Lever Signed-off-by: J. Bruce Fields --- Reading git-diff-tree failed