Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 64361
b: refs/heads/master
c: b54eebd
h: refs/heads/master
i:
  64359: 17c8a15
v: v3
  • Loading branch information
Tejun Heo authored and Jeff Garzik committed Aug 23, 2007
1 parent 7ccd3ac commit de669f9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 9edbdbea003b8be96e2f5d70515227d5fb32ad72
refs/heads/master: b54eebd673861136291b97e409a0f248b96e74ae
3 changes: 2 additions & 1 deletion trunk/drivers/ata/libata-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -3700,7 +3700,8 @@ int ata_dev_revalidate(struct ata_device *dev, unsigned int readid_flags)
goto fail;

/* verify n_sectors hasn't changed */
if (dev->class == ATA_DEV_ATA && dev->n_sectors != n_sectors) {
if (dev->class == ATA_DEV_ATA && n_sectors &&
dev->n_sectors != n_sectors) {
ata_dev_printk(dev, KERN_INFO, "n_sectors mismatch "
"%llu != %llu\n",
(unsigned long long)n_sectors,
Expand Down

0 comments on commit de669f9

Please sign in to comment.