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 <cat@gensokyo.uk>
This commit is contained in:
2025-12-25 06:00:58 +09:00
parent 7bfbd59810
commit da2bb546ba
3 changed files with 0 additions and 15 deletions

View File

@@ -240,7 +240,6 @@ func _main(argc int, argv **C.char) int {
// implemented in fuse-helper.c
getattr: closure(C.sharefs_getattr),
readlink: closure(C.sharefs_readlink),
readdir: closure(C.sharefs_readdir),
mkdir: closure(C.sharefs_mkdir),
unlink: closure(C.sharefs_unlink),