diff options
author | Weston Andros Adamson | 2012-10-23 16:43:45 +0200 |
---|---|---|
committer | Trond Myklebust | 2012-11-04 20:43:42 +0100 |
commit | 0af39507f60ee9f98b20f24af09c1a60655417ac (patch) | |
tree | 91e8719217c75f71670e2d6f199d0d4c127349e4 /net/sunrpc/sched.c | |
parent | SUNRPC: remove BUG_ON from encode_rpcb_string (diff) | |
download | kernel-qcow2-linux-0af39507f60ee9f98b20f24af09c1a60655417ac.tar.gz kernel-qcow2-linux-0af39507f60ee9f98b20f24af09c1a60655417ac.tar.xz kernel-qcow2-linux-0af39507f60ee9f98b20f24af09c1a60655417ac.zip |
SUNRPC: remove BUG_ON in svc_register
Instead of calling BUG_ON(), do a WARN_ON_ONCE() and return -EINVAL.
Signed-off-by: Weston Andros Adamson <dros@netapp.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'net/sunrpc/sched.c')
0 files changed, 0 insertions, 0 deletions