mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-23 11:18:54 +00:00
Don't convert LBA to host order, they must stay in network order
as old code does.
This commit is contained in:
parent
6c5e9bbdf5
commit
5d33645207
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=13766
@ -14,7 +14,7 @@
|
||||
*
|
||||
* Ported to run under 386BSD by Julian Elischer (julian@tfs.com) Sept 1992
|
||||
*
|
||||
* $Id: cd.c,v 1.59 1996/01/30 16:12:18 ache Exp $
|
||||
* $Id: cd.c,v 1.60 1996/01/30 16:38:30 ache Exp $
|
||||
*/
|
||||
|
||||
#include "opt_bounce.h"
|
||||
@ -846,11 +846,6 @@ cd_ioctl(dev_t dev, int cmd, caddr_t addr, int flag, struct proc *p,
|
||||
}
|
||||
}
|
||||
|
||||
if (te->address_format == CD_LBA_FORMAT) {
|
||||
for (idx = 0; idx < num; idx++)
|
||||
NTOHL(data.entries[idx].addr.lba);
|
||||
}
|
||||
|
||||
error = copyout(data.entries, te->data, len);
|
||||
}
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user