aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakob Unterwurzacher2021-03-14 14:43:11 +0100
committerJakob Unterwurzacher2021-03-14 14:43:11 +0100
commitf6036c429a35dff83bd01b3e867262cf7e8468ef (patch)
treef4e20790ed4197f3fa616d25d90e23351b103cf6
parent952d45ce84f63de963a1727e439e95883f9e65c1 (diff)
syscallcompat: getdents: link to #483
Give a user receiving the Getdents warning some background info.
-rw-r--r--internal/syscallcompat/getdents_linux.go2
1 files changed, 1 insertions, 1 deletions
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