Skip to content

Commit

Permalink
use ATA_TAG_INTERNAL in ata_tag_internal()
Browse files Browse the repository at this point in the history
It should be ATA_TAG_INTERNAL.

Signed-off-by: Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
  • Loading branch information
Yoichi Yuasa authored and Jeff Garzik committed Apr 17, 2008
1 parent c30484d commit 83c063d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/linux/libata.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

/*
Expand Down

0 comments on commit 83c063d

Please sign in to comment.