ide-floppy: do not map dataless cmds to an sg
commit3eb76c1ccde496c3c0bfda23d1c803e40b762ce6
authorBorislav Petkov <petkovbb@gmail.com>
Fri, 13 Mar 2009 20:16:12 +0000 (13 21:16 +0100)
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Fri, 13 Mar 2009 20:16:12 +0000 (13 21:16 +0100)
tree2a1524a72a5005c512d4f45696d7cde964f7f457
parent041b62374c7fedc11a8a1eeda2868612d3d1436c
ide-floppy: do not map dataless cmds to an sg

since it fails the virt_to_page() translation check with DEBUG_VIRTUAL
enabled.

Signed-off-by: Borislav Petkov <petkovbb@gmail.com>
[bart: backport to Linus' tree]
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
drivers/ide/ide-atapi.c
drivers/ide/ide-floppy.c