diff options
author | Stanislav Kinsbursky <skinsbursky@parallels.com> | 2012-07-20 15:57:48 +0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-08-15 08:10:05 -0700 |
commit | d281dc7448010256bf2e23a65e10a4f6fc786284 (patch) | |
tree | 424581752457e5ba30cd92bbe3746d8b03765c80 /fs/nilfs2 | |
parent | 613975f7a65f75b6e720bfca721d2d99542c53b8 (diff) |
SUNRPC: return negative value in case rpcbind client creation error
commit caea33da898e4e14f0ba58173e3b7689981d2c0b upstream.
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'fs/nilfs2')
0 files changed, 0 insertions, 0 deletions