use ATA_TAG_INTERNAL in ata_tag_internal()
authorYoichi Yuasa <yoichi_yuasa@tripeaks.co.jp>
Thu, 28 Feb 2008 12:43:13 +0000 (21:43 +0900)
committerJeff Garzik <jgarzik@redhat.com>
Thu, 17 Apr 2008 19:44:21 +0000 (15:44 -0400)
It should be ATA_TAG_INTERNAL.

Signed-off-by: Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
include/linux/libata.h

index b25ea6ab1be9255cd2dd0addaf19aba5363bc9e8..a05de2ba7a728e83e975d81385e4e08a4a668f88 100644 (file)
@@ -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;
 }
 
 /*