Change fusefs_link to return EPERM if the source file is a directory.
authorhelg <helg@openbsd.org>
Mon, 27 Nov 2017 22:55:17 +0000 (22:55 +0000)
committerhelg <helg@openbsd.org>
Mon, 27 Nov 2017 22:55:17 +0000 (22:55 +0000)
commitb3dbe383f2ec7dca69d604f26afe4742248ebfe8
tree598f00550469f286c524866065e0229ef3bb32a7
parenta1e1a89cdfa4491c0e74deebf2b5239abdf0c057
Change fusefs_link to return EPERM if the source file is a directory.
Now aligns with link(2) man page and ffs regress tests.

ok phessler@, jca@
sys/miscfs/fuse/fuse_vnops.c