]> www.infradead.org Git - users/hch/misc.git/commit
fuse: Return EPERM rather than ENOSYS from link()
authorMatt Johnston <matt@codeconstruct.com.au>
Fri, 14 Feb 2025 01:17:53 +0000 (09:17 +0800)
committerMiklos Szeredi <mszeredi@redhat.com>
Mon, 31 Mar 2025 12:55:36 +0000 (14:55 +0200)
commit8344213571b2ac8caf013cfd3b37bc3467c3a893
tree18ddb52846f42cad4fbf183cde8a953f42a9ac28
parent841c7b812c038661e4f659d1b9c9a366c6d24b71
fuse: Return EPERM rather than ENOSYS from link()

link() is documented to return EPERM when a filesystem doesn't support
the operation, return that instead.

Link: https://github.com/libfuse/libfuse/issues/925
Signed-off-by: Matt Johnston <matt@codeconstruct.com.au>
Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
fs/fuse/dir.c