summaryrefslogtreecommitdiff
path: root/sys/miscfs/fuse
diff options
context:
space:
mode:
authornatano <natano@cvs.openbsd.org>2016-02-25 18:59:27 +0000
committernatano <natano@cvs.openbsd.org>2016-02-25 18:59:27 +0000
commit5862331f101048971bea8e7560925d45fb40d4cf (patch)
tree0154b9828cad8ba1a4a45e587450a1b53d416e70 /sys/miscfs/fuse
parent1f5d227e89cf5672caea9e1156b72c99aafabf4e (diff)
fuse doesn't support NFS; prevent a uvm fault caused by claiming otherwise
ok stefan@
Diffstat (limited to 'sys/miscfs/fuse')
-rw-r--r--sys/miscfs/fuse/fuse_vfsops.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/miscfs/fuse/fuse_vfsops.c b/sys/miscfs/fuse/fuse_vfsops.c
index 33259a44bbf..ca58eca11a3 100644
--- a/sys/miscfs/fuse/fuse_vfsops.c
+++ b/sys/miscfs/fuse/fuse_vfsops.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: fuse_vfsops.c,v 1.16 2015/07/19 14:21:14 tedu Exp $ */
+/* $OpenBSD: fuse_vfsops.c,v 1.17 2016/02/25 18:59:26 natano Exp $ */
/*
* Copyright (c) 2012-2013 Sylvestre Gallon <ccna.syl@gmail.com>
*
@@ -363,5 +363,5 @@ int
fusefs_checkexp(struct mount *mp, struct mbuf *nam, int *extflagsp,
struct ucred **credanonp)
{
- return (0);
+ return (EOPNOTSUPP);
}