Put an XXX comment here to point somebody in the right direction.
This commit is contained in:
parent
ef02ea6e40
commit
d734859c2a
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=103705
@ -118,6 +118,7 @@ linux_ioctl_disk(struct thread *td, struct linux_ioctl_args *args)
|
||||
return (error);
|
||||
switch (args->cmd & 0xffff) {
|
||||
case LINUX_BLKGETSIZE:
|
||||
/* XXX: wrong, should use DIOCGMEDIASIZE/DIOCGSECTORSIZE */
|
||||
error = fo_ioctl(fp, DIOCGDINFO, (caddr_t)&dl, td->td_ucred,
|
||||
td);
|
||||
fdrop(fp, td);
|
||||
|
Loading…
Reference in New Issue
Block a user