FreeBSD Bugzilla – Attachment 181753 Details for
Bug 218626
[PATCH] cuse: new error code CUSE_ERR_NO_DEVICE (ENODEV)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch adding a CUSE_ERR_NO_DEVICE error code
cuse-enodev.patch (text/plain), 674 bytes, created by
Jan Kokemüller
on 2017-04-13 11:02:50 UTC
(
hide
)
Description:
patch adding a CUSE_ERR_NO_DEVICE error code
Filename:
MIME Type:
Creator:
Jan Kokemüller
Created:
2017-04-13 11:02:50 UTC
Size:
674 bytes
patch
obsolete
>diff --git a/sys/fs/cuse/cuse.c b/sys/fs/cuse/cuse.c >index 33d36c5..20b3824 100644 >--- a/sys/fs/cuse/cuse.c >+++ b/sys/fs/cuse/cuse.c >@@ -390,6 +390,8 @@ cuse_convert_error(int error) > return (EFAULT); > case CUSE_ERR_SIGNAL: > return (EINTR); >+ case CUSE_ERR_NO_DEVICE: >+ return (ENODEV); > default: > return (ENXIO); > } >diff --git a/sys/fs/cuse/cuse_defs.h b/sys/fs/cuse/cuse_defs.h >index 0134bfe..d36105f 100644 >--- a/sys/fs/cuse/cuse_defs.h >+++ b/sys/fs/cuse/cuse_defs.h >@@ -38,6 +38,7 @@ > #define CUSE_ERR_SIGNAL -6 > #define CUSE_ERR_OTHER -7 > #define CUSE_ERR_NOT_LOADED -8 >+#define CUSE_ERR_NO_DEVICE -9 > > #define CUSE_POLL_NONE 0 > #define CUSE_POLL_READ 1
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 218626
:
181753
|
186488