]> git.ipfire.org Git - thirdparty/mdadm.git/commitdiff
intel: Don't try to read from tiny devices.
authorNeilBrown <neilb@suse.de>
Wed, 1 Sep 2010 06:14:26 +0000 (16:14 +1000)
committerNeilBrown <neilb@suse.de>
Mon, 6 Sep 2010 01:26:28 +0000 (11:26 +1000)
If a device is less than 1K, avoid even trying to seek to 1K before
the end.
The seek will fail anyway so this is a fairly cosmetic fix.

Signed-off-by: NeilBrown <neilb@suse.de>

No differences found