From: Benjamin LaHaise Date: Wed, 31 Jul 2013 14:34:18 +0000 (-0400) Subject: aio: be defensive to ensure request batching is non-zero instead of BUG_ON() X-Git-Tag: v3.12-rc1~16^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6878ea72a5d1aa6caae86449975a50b7fe9abed5;p=pandora-kernel.git aio: be defensive to ensure request batching is non-zero instead of BUG_ON() In the event that an overflow/underflow occurs while calculating req_batch, clamp the minimum at 1 request instead of doing a BUG_ON(). Signed-off-by: Benjamin LaHaise --- Reading git-diff-tree failed