diff options
author | 2007-08-17 18:46:51 +0900 | |
---|---|---|
committer | 2007-08-23 05:34:05 -0400 | |
commit | b54eebd673861136291b97e409a0f248b96e74ae (patch) | |
tree | 14ec79b827824ddd26fef89ac2db7324f7ada7fd /kernel/sysctl.c | |
parent | pata_via: Add Arima W730-K8 and other rebadgings (diff) | |
download | linux-rng-b54eebd673861136291b97e409a0f248b96e74ae.tar.xz linux-rng-b54eebd673861136291b97e409a0f248b96e74ae.zip |
libata: don't check n_sectors during revalidation if zero
If the initial configuration fails early, n_sectors is left at zero.
Checking against it during revalidation makes retried configuration
fail due to n_sectors mismatch. Ignore zero n_sectors during
revalidation.
Signed-off-by: Tejun Heo <htejun@gmail.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'kernel/sysctl.c')
0 files changed, 0 insertions, 0 deletions