From da2bb546ba5ccd1b282123e555e9577630d0ad90 Mon Sep 17 00:00:00 2001 From: Ophestra Date: Thu, 25 Dec 2025 06:00:58 +0900 Subject: cmd/sharefs: remove readlink This filesystem does not support symbolic links, so readlink is not useful, and unreachable in this case because of the check in getattr. Signed-off-by: Ophestra --- cmd/sharefs/fuse-helper.h | 1 - 1 file changed, 1 deletion(-) (limited to 'cmd/sharefs/fuse-helper.h') diff --git a/cmd/sharefs/fuse-helper.h b/cmd/sharefs/fuse-helper.h index fdcd1d5e..869df6bb 100644 --- a/cmd/sharefs/fuse-helper.h +++ b/cmd/sharefs/fuse-helper.h @@ -12,7 +12,6 @@ struct sharefs_private { }; int sharefs_getattr(const char *pathname, struct stat *statbuf, struct fuse_file_info *fi); -int sharefs_readlink(const char *pathname, char *buf, size_t bufsiz); int sharefs_readdir(const char *pathname, void *buf, fuse_fill_dir_t filler, off_t offset, struct fuse_file_info *fi, enum fuse_readdir_flags flags); int sharefs_mkdir(const char *pathname, mode_t mode); int sharefs_unlink(const char *pathname); -- cgit v1.3.1