diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/ata.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/ata.h b/include/linux/ata.h index 61535e72834d..304825b1c977 100644 --- a/include/linux/ata.h +++ b/include/linux/ata.h | |||
@@ -425,6 +425,8 @@ static inline int ata_id_has_lba48(const u16 *id) | |||
425 | { | 425 | { |
426 | if ((id[83] & 0xC000) != 0x4000) | 426 | if ((id[83] & 0xC000) != 0x4000) |
427 | return 0; | 427 | return 0; |
428 | if (!ata_id_u64(id, 100)) | ||
429 | return 0; | ||
428 | return id[83] & (1 << 10); | 430 | return id[83] & (1 << 10); |
429 | } | 431 | } |
430 | 432 | ||