summaryrefslogtreecommitdiff
path: root/include/linux/libata.h
diff options
context:
space:
mode:
authorYoichi Yuasa <yoichi_yuasa@tripeaks.co.jp>2008-02-28 21:43:13 +0900
committerJeff Garzik <jgarzik@redhat.com>2008-04-17 15:44:21 -0400
commit83c063dd730cb56bf3fc89b70250ff9a398fec1e (patch)
tree4447914e4957f678a3085d45824c132dfc5c8b8b /include/linux/libata.h
parentc30484d775eb0b899f2b6a8f5508a99ecaba59fc (diff)
use ATA_TAG_INTERNAL in ata_tag_internal()
It should be ATA_TAG_INTERNAL. Signed-off-by: Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp> Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'include/linux/libata.h')
-rw-r--r--include/linux/libata.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/libata.h b/include/linux/libata.h
index b25ea6ab1be9..a05de2ba7a72 100644
--- a/include/linux/libata.h
+++ b/include/linux/libata.h
@@ -1121,7 +1121,7 @@ static inline unsigned int ata_tag_valid(unsigned int tag)
static inline unsigned int ata_tag_internal(unsigned int tag)
{
- return tag == ATA_MAX_QUEUE - 1;
+ return tag == ATA_TAG_INTERNAL;
}
/*