[PATCH] libata CHS: LBA28/LBA48 optimization (revise #6)
- add lba_28_ok() and lba_48_ok() to ata.h. - check ending block number instead of staring block number. - use lba_28_ok() for CHS range check - LBA28/LBA48 optimization Suggested by Mark Lord and Alan Cox. Signed-off-by: NAlbert Lee <albertcc@tw.ibm.com> ===== Signed-off-by: NJeff Garzik <jgarzik@pobox.com>
Showing
想要评论请 注册 或 登录