syscallcompat: getdents: link to #483

Give a user receiving the Getdents warning some background info.
This commit is contained in:
Jakob Unterwurzacher 2021-03-14 14:43:11 +01:00
parent 952d45ce84
commit f6036c429a
1 changed files with 1 additions and 1 deletions

View File

@ -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