From: Al Viro Date: Sun, 23 Oct 2011 22:49:54 +0000 (-0400) Subject: pull manipulations of rpc_cred inside alloc_nfs_open_context() X-Git-Tag: v3.3-rc1~170^2~84 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5ede7b1cfa8201418fb35e12f770e9e7c2559a4d;p=pandora-kernel.git pull manipulations of rpc_cred inside alloc_nfs_open_context() No need to duplicate them in both callers; make it return ERR_PTR(-ENOMEM) on allocation failure instead of NULL and it'll be able to report rpc_lookup_cred() failures just fine. Callers are much happier that way... Signed-off-by: Al Viro --- Reading git-diff-tree failed