From: Ben Hutchings Date: Tue, 22 Feb 2011 21:54:34 +0000 (+0000) Subject: sunrpc: Propagate errors from xs_bind() through xs_create_sock() X-Git-Tag: v2.6.37.5~79 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3d24afb103de9a869c574d7d27d04d8c74d1b211;p=pandora-kernel.git sunrpc: Propagate errors from xs_bind() through xs_create_sock() commit 4cea288aaf0e11647880cc487350b1dc45d9febc upstream. xs_create_sock() is supposed to return a pointer or an ERR_PTR-encoded error, but it currently returns 0 if xs_bind() fails. Signed-off-by: Ben Hutchings Signed-off-by: Trond Myklebust Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed