]> www.infradead.org Git - users/jedix/linux-maple.git/commit
fuse: optmize missing FUSE_LINK support
authorMiklos Szeredi <mszeredi@redhat.com>
Fri, 14 Feb 2025 10:00:53 +0000 (11:00 +0100)
committerMiklos Szeredi <mszeredi@redhat.com>
Mon, 31 Mar 2025 12:55:36 +0000 (14:55 +0200)
commiteef36cf6a7016cb5353d4b0a9dbdfbd52c4bd973
tree754ca2303a400fee1ba602d3d91f1bdf82a1f150
parent8344213571b2ac8caf013cfd3b37bc3467c3a893
fuse: optmize missing FUSE_LINK support

If filesystem doesn't support FUSE_LINK (i.e. returns -ENOSYS), then
remember this and next time return immediately, without incurring the
overhead of a round trip to the server.

Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
fs/fuse/dir.c
fs/fuse/fuse_i.h