]> rtime.felk.cvut.cz Git - linux-imx.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)
commitb25cd058f25ea2054351bbe501956002cd8ed4c5
tree85429bb1b4ef052235d981fcbb588a4afa5e3e93
parentff1fdb9b805fc03fb51c7b061604360af92d0c9e
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