From: Weston Andros Adamson Date: Tue, 23 Oct 2012 14:43:42 +0000 (-0400) Subject: SUNRPC: remove BUG_ON in xdr_shrink_bufhead X-Git-Tag: v3.8-rc1~72^2~71 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=18e624ad0374f3b1092530f978301611f88e45b3;p=pandora-kernel.git SUNRPC: remove BUG_ON in xdr_shrink_bufhead Replace bounds checking BUG_ON() with a WARN_ON_ONCE() and resetting the requested len to the max. Signed-off-by: Weston Andros Adamson Signed-off-by: Trond Myklebust --- Reading git-diff-tree failed