]> git.karo-electronics.de Git - karo-tx-linux.git/commit
SUNRPC: remove BUG_ONs checking RPCSVC_MAXPAGES
authorWeston Andros Adamson <dros@netapp.com>
Tue, 23 Oct 2012 14:43:41 +0000 (10:43 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Thu, 1 Nov 2012 16:02:16 +0000 (12:02 -0400)
commit73ebe8a3a4ec7debb8013f6c7905839928154741
tree44b7dccbae90b399b533b2d183db82e1f54d2175
parent5302f4d9f8402fb3e0ccf39200ec274cb65a3720
SUNRPC: remove BUG_ONs checking RPCSVC_MAXPAGES

Replace two bounds checking BUG_ON() calls with WARN_ON_ONCE() and resetting
the requested size to RPCSVC_MAXPAGES.

Signed-off-by: Weston Andros Adamson <dros@netapp.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
net/sunrpc/svc.c
net/sunrpc/svc_xprt.c