summaryrefslogtreecommitdiffstats
path: root/net/compat.c
diff options
context:
space:
mode:
authorStanislav Kinsbursky2012-07-20 13:57:48 +0200
committerTrond Myklebust2012-07-31 02:39:05 +0200
commitcaea33da898e4e14f0ba58173e3b7689981d2c0b (patch)
tree70eba39a96cfb8cd6c9c90ceac9eeac6e9f3cfe4 /net/compat.c
parentNFS: Convert v4 into a module (diff)
downloadkernel-qcow2-linux-caea33da898e4e14f0ba58173e3b7689981d2c0b.tar.gz
kernel-qcow2-linux-caea33da898e4e14f0ba58173e3b7689981d2c0b.tar.xz
kernel-qcow2-linux-caea33da898e4e14f0ba58173e3b7689981d2c0b.zip
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 <skinsbursky@parallels.com> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com> Cc: stable@vger.kernel.org [>= 3.0]
Diffstat (limited to 'net/compat.c')
0 files changed, 0 insertions, 0 deletions