FreeBSD Bugzilla – Attachment 174794 Details for
Bug 212700
[patch] Implement BLKGETSIZE ioctl() for Linux compat
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch for linux_ioctl.c
linux_ioctl.patch (text/plain), 549 bytes, created by
Erik Cederstrand
on 2016-09-15 12:04:37 UTC
(
hide
)
Description:
Patch for linux_ioctl.c
Filename:
MIME Type:
Creator:
Erik Cederstrand
Created:
2016-09-15 12:04:37 UTC
Size:
549 bytes
patch
obsolete
>--- sys/compat/linux/linux_ioctl.c.orig 2016-09-15 13:09:59.747254000 +0200 >+++ sys/compat/linux/linux_ioctl.c 2016-09-15 13:15:59.382396000 +0200 >@@ -296,6 +296,15 @@ > return (copyout(§orsize, (void *)args->arg, > sizeof(sectorsize))); > break; >+ case LINUX_BLKSSZGET: >+ error = fo_ioctl(fp, DIOCGSECTORSIZE, >+ (caddr_t)§orsize, td->td_ucred, td); >+ fdrop(fp, td); >+ if (error) >+ return (error); >+ return (copyout(§orsize, (void *)args->arg, >+ sizeof(sectorsize))); >+ break; > } > fdrop(fp, td); > return (ENOIOCTL);
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 212700
: 174794