]> err.no Git - linux-2.6/commit
SVCRDMA: Fix erroneous BUG_ON in send_write
authorTom Tucker <tom@opengridcomputing.com>
Tue, 11 Mar 2008 18:31:40 +0000 (14:31 -0400)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 12 Mar 2008 19:37:34 +0000 (12:37 -0700)
commit3fedb3c5a80595d94f7cbe47a6dba9184d869eb8
tree50254172a14b3b67c7ab289341e4938cb2cd1273
parentc48cbb405c4f338ce3263c44d621eff41d9a95fc
SVCRDMA: Fix erroneous BUG_ON in send_write

The assertion that checks for sge context overflow is
incorrectly hard-coded to 32. This causes a kernel bug
check when using big-data mounts. Changed the BUG_ON to
use the computed value RPCSVC_MAXPAGES.

Signed-off-by: Tom Tucker <tom@opengridcomputing.com>
Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
net/sunrpc/xprtrdma/svc_rdma_sendto.c