summaryrefslogtreecommitdiffstats
path: root/net/sunrpc/bc_svc.c
diff options
context:
space:
mode:
authorWeston Andros Adamson <dros@netapp.com>2012-11-01 21:04:40 +0100
committerTrond Myklebust <Trond.Myklebust@netapp.com>2012-11-04 20:43:43 +0100
commit50d2bdb19734f9e9f21e63881a9b6c8db4cc0eb7 (patch)
treea4d8c39731654e5791a587e471193ca73f664720 /net/sunrpc/bc_svc.c
parentSUNRPC: remove BUG_ON in rpc_release_task (diff)
downloadlinux-50d2bdb19734f9e9f21e63881a9b6c8db4cc0eb7.tar.xz
linux-50d2bdb19734f9e9f21e63881a9b6c8db4cc0eb7.zip
SUNRPC: remove BUG_ON from rpc_call_sync
Use WARN_ON_ONCE instead of calling BUG_ON and return -EINVAL when RPC_TASK_ASYNC flag is passed to rpc_call_sync. Signed-off-by: Weston Andros Adamson <dros@netapp.com> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'net/sunrpc/bc_svc.c')
0 files changed, 0 insertions, 0 deletions