Don't convert LBA to host order, they must stay in network order

as old code does.
This commit is contained in:
Andrey A. Chernov 1996-01-30 23:11:06 +00:00
parent 6c5e9bbdf5
commit 5d33645207
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=13766

View File

@ -14,7 +14,7 @@
* *
* Ported to run under 386BSD by Julian Elischer (julian@tfs.com) Sept 1992 * 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" #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); error = copyout(data.entries, te->data, len);
} }
break; break;