From: Weston Andros Adamson Date: Thu, 1 Nov 2012 20:04:40 +0000 (-0400) Subject: SUNRPC: remove BUG_ON from rpc_call_sync X-Git-Tag: v3.8-rc1~72^2~63 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=50d2bdb19734f9e9f21e63881a9b6c8db4cc0eb7;p=pandora-kernel.git 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 Signed-off-by: Trond Myklebust --- Reading git-diff-tree failed