ide-tape: change IDE_AFLAG_IGNORE_DSC non-atomically
commit626542ca2277961aaa64855206574f8ca4f360e3
authorBorislav Petkov <petkovbb@gmail.com>
Sun, 7 Jun 2009 13:37:05 +0000 (7 15:37 +0200)
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Sun, 7 Jun 2009 13:37:05 +0000 (7 15:37 +0200)
tree88f2071580dbe02c43741dd112d8f7b98eea0938
parentffddf1717b0d388879c646eaf6261a2b393c06ad
ide-tape: change IDE_AFLAG_IGNORE_DSC non-atomically

There are two sites where the flag is being changed: ide_retry_pc
and idetape_do_request. Both codepaths are protected by hwif->busy
(ide_lock_port) and therefore we shouldn't need the atomic accesses.

Spotted-by: Jiri Slaby <jirislaby@gmail.com>
Signed-off-by: Borislav Petkov <petkovbb@gmail.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
drivers/ide/ide-atapi.c
drivers/ide/ide-tape.c