OSDN Git Service

libata: use ata_tag_internal() consistently
authorJens Axboe <axboe@kernel.dk>
Fri, 11 May 2018 18:51:06 +0000 (12:51 -0600)
committerTejun Heo <tj@kernel.org>
Fri, 11 May 2018 20:10:43 +0000 (13:10 -0700)
commit2e2cc676cee8962cdc82a23723df2fb394d35c64
treeb2e65fc638505a6c0def547447639fddd4fb7ddf
parente3ed8939644166a7560a33c46f508584a7f1756a
libata: use ata_tag_internal() consistently

Some check for the value directly, use the provided helper instead.
Also make it return a bool, since that's what it does.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Tejun Heo <tj@kernel.org>
drivers/ata/libata-core.c
drivers/ata/libata-scsi.c
include/linux/libata.h