From f6036c429a35dff83bd01b3e867262cf7e8468ef Mon Sep 17 00:00:00 2001 From: Jakob Unterwurzacher Date: Sun, 14 Mar 2021 14:43:11 +0100 Subject: [PATCH] syscallcompat: getdents: link to #483 Give a user receiving the Getdents warning some background info. --- internal/syscallcompat/getdents_linux.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/syscallcompat/getdents_linux.go b/internal/syscallcompat/getdents_linux.go index 2425326..e3a2c4a 100644 --- a/internal/syscallcompat/getdents_linux.go +++ b/internal/syscallcompat/getdents_linux.go @@ -43,7 +43,7 @@ func getdents(fd int) ([]fuse.DirEntry, error) { continue } else if err != nil { if smartBuf.Len() > 0 { - tlog.Warn.Printf("warning: unix.Getdents returned errno %d in the middle of data", err.(syscall.Errno)) + tlog.Warn.Printf("warning: unix.Getdents returned errno %d in the middle of data ( https://github.com/rfjakob/gocryptfs/issues/483 )", err.(syscall.Errno)) return nil, syscall.EIO } return nil, err