summaryrefslogtreecommitdiffstats
path: root/drivers/staging
diff options
context:
space:
mode:
authorBenjamin LaHaise2013-07-31 16:34:18 +0200
committerBenjamin LaHaise2013-07-31 16:34:18 +0200
commit6878ea72a5d1aa6caae86449975a50b7fe9abed5 (patch)
tree9750b6a7f37d340227399ff282a6aefb6892cd98 /drivers/staging
parentaio: convert the ioctx list to table lookup v3 (diff)
downloadkernel-qcow2-linux-6878ea72a5d1aa6caae86449975a50b7fe9abed5.tar.gz
kernel-qcow2-linux-6878ea72a5d1aa6caae86449975a50b7fe9abed5.tar.xz
kernel-qcow2-linux-6878ea72a5d1aa6caae86449975a50b7fe9abed5.zip
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 <bcrl@kvack.org>
Diffstat (limited to 'drivers/staging')
0 files changed, 0 insertions, 0 deletions