]> git.karo-electronics.de Git - karo-tx-linux.git/commit
SUNRPC: remove BUG_ON from rpc_call_sync
authorWeston Andros Adamson <dros@netapp.com>
Thu, 1 Nov 2012 20:04:40 +0000 (16:04 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Thu, 1 Nov 2012 21:52:37 +0000 (17:52 -0400)
commitdb9e83f7b3bf96f7160a073d4098ca5648481db7
treeaccd0e3232052a206c1bf72e5436120d9884ef19
parentbb73a0bf3926480bb504299cd7f8d71bc69908e2
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>
net/sunrpc/clnt.c