Page MenuHomeFreeBSD

D53535.id165677.diff
No OneTemporary

D53535.id165677.diff

diff --git a/sys/fs/fuse/fuse_vnops.c b/sys/fs/fuse/fuse_vnops.c
--- a/sys/fs/fuse/fuse_vnops.c
+++ b/sys/fs/fuse/fuse_vnops.c
@@ -625,7 +625,7 @@
return (EROFS);
if (fsess_not_impl(mp, FUSE_FALLOCATE))
- return (EXTERROR(EINVAL, "This server does not implement "
+ return (EXTERROR(EOPNOTSUPP, "This server does not implement "
"FUSE_FALLOCATE"));
io.uio_offset = *offset;
@@ -656,7 +656,7 @@
if (err == ENOSYS) {
fsess_set_notimpl(mp, FUSE_FALLOCATE);
- err = EXTERROR(EINVAL, "This server does not implement "
+ err = EXTERROR(EOPNOTSUPP, "This server does not implement "
"FUSE_ALLOCATE");
} else if (err == EOPNOTSUPP) {
/*

File Metadata

Mime Type
text/plain
Expires
Fri, Jul 17, 3:00 PM (15 h, 41 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
35170969
Default Alt Text
D53535.id165677.diff (671 B)

Event Timeline