diff options
author | Albert Lee <albertcc@tw.ibm.com> | 2006-03-27 16:39:18 +0800 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2006-03-29 19:30:28 -0500 |
commit | 00b6f5e9e04b2186a71a5892640bb2d8e09a030e (patch) | |
tree | f486ef99a0a7e5db563176eda559a8a332297df1 /fs/hppfs | |
parent | 17efc5f7237995295cbe008828788d187fea3c88 (diff) |
[PATCH] libata: ata_dev_init_params() fixes
ata_dev_init_params() fixes:
- Get the "heads" and "sectors" parameters from caller instead of implicitly from dev->id[].
- Return AC_ERR_INVALID instead of 0 if an invalid parameter is found
Signed-off-by: Albert Lee <albertcc@tw.ibm.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'fs/hppfs')
0 files changed, 0 insertions, 0 deletions