ide-atapi: use local sense buffer
authorBorislav Petkov <petkovbb@gmail.com>
Sat, 2 May 2009 08:58:17 +0000 (10:58 +0200)
committerBorislav Petkov <petkovbb@gmail.com>
Fri, 15 May 2009 04:44:23 +0000 (06:44 +0200)
commitae3a8387be529e632eac69b342524c25b892fc63
tree30f9d6c3480e4c3fe8fdaf3bfa004911a54eadbd
parent5122e5174f872c9f3120c8aff71c448f84b6f038
ide-atapi: use local sense buffer

Access the sense buffer through the bio in ->pc_callback method thus
alleviating the need for the pc->buf pointer.

There should be no functional change resulting from this patch.

Signed-off-by: Borislav Petkov <petkovbb@gmail.com>
drivers/ide/ide-atapi.c
drivers/ide/ide-floppy.c
drivers/ide/ide-tape.c