commit | caea33da898e4e14f0ba58173e3b7689981d2c0b | [log] [tgz] |
---|---|---|
author | Stanislav Kinsbursky <skinsbursky@parallels.com> | Fri Jul 20 15:57:48 2012 +0400 |
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | Mon Jul 30 20:39:05 2012 -0400 |
tree | 70eba39a96cfb8cd6c9c90ceac9eeac6e9f3cfe4 | |
parent | 89d77c8fa8e6d1cb7e2cce95b428be30ddcc6f23 [diff] |
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]