]> git.baikalelectronics.ru Git - kernel.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>
Sun, 4 Nov 2012 19:43:41 +0000 (14:43 -0500)
commitc3221a83979cee57f75565a6e9979ddb5b323594
tree85429bb1b4ef052235d981fcbb588a4afa5e3e93
parentd04b21365bce8cb28f2cc3177e38a7c69d98405e
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