commit | 8270bec40075eec9df8778c1d5da36ef0e535176 | [log] [tgz] |
---|---|---|
author | Tejun Heo <htejun@gmail.com> | Thu Aug 16 03:02:22 2007 +0900 |
committer | Jeff Garzik <jeff@garzik.org> | Thu Aug 23 05:23:14 2007 -0400 |
tree | dcf47e96b54c29e8674b78c4f4acee32a1faa2cd | |
parent | b377fd3982ad957c796758a90e2988401a884241 [diff] |
libata: fix n_sectors failure handling during revalidation If revalidation fails because device has different n_sectors after configuration the original n_sectors should be restored before failing revalidation. Without this fix, n_sectors difference will incorrectly and silently pass revalidation when revalidation is retried. Signed-off-by: Tejun Heo <htejun@gmail.com> Acked-by: Alan Cox <alan@redhat.com> Signed-off-by: Jeff Garzik <jeff@garzik.org>