aoe: fix crash in page count manipulation
authorJens Axboe <axboe@fb.com>
Sat, 12 Nov 2016 01:28:50 +0000 (18:28 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 6 Jan 2017 10:16:16 +0000 (11:16 +0100)
commitf080d70948382b2d0c680c0c65dd518cd7cf0b14
tree42848741f2de50b8ae1463c9047863d2846ec3b0
parent8bba2e2e62cbf2db0d03e4de1204f7850bc45c44
aoe: fix crash in page count manipulation

commit 0cbc72a1781250f373327dd7e306e33859a42154 upstream.

aoeblk contains some mysterious code, that wants to elevate the bio
vec page counts while it's under IO. That is not needed, it's
fragile, and it's causing kernel oopses for some.

Reported-by: Tested-by: Don Koch <kochd@us.ibm.com>
Tested-by: Tested-by: Don Koch <kochd@us.ibm.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/block/aoe/aoecmd.c