From: Stanislav Kinsbursky Date: Fri, 20 Jul 2012 11:57:48 +0000 (+0400) Subject: SUNRPC: return negative value in case rpcbind client creation error X-Git-Tag: v3.6-rc1~29^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=caea33da898e4e14f0ba58173e3b7689981d2c0b;p=pandora-kernel.git SUNRPC: return negative value in case rpcbind client creation error Without this patch kernel will panic on LockD start, because lockd_up() checks lockd_up_net() result for negative value. From my pow it's better to return negative value from rpcbind routines instead of replacing all such checks like in lockd_up(). Signed-off-by: Stanislav Kinsbursky Signed-off-by: Trond Myklebust Cc: stable@vger.kernel.org [>= 3.0] --- Reading git-diff-tree failed