diff options
author | Jakob Unterwurzacher | 2018-04-03 21:19:44 +0200 |
---|---|---|
committer | Jakob Unterwurzacher | 2018-04-03 21:24:48 +0200 |
commit | 4e5783591f9874e2c7336598c96ebd2c5840bd5b (patch) | |
tree | 589e9381ad3868eb1eb7dc384fdca4c18cda901b /internal/syscallcompat/sys_linux.go | |
parent | 8b443c8484f5fdcedbec2a689a7d66d2a277b26e (diff) |
fsck: report skipped corrupt files
OpenDir and ListXAttr skip over corrupt entries,
readFileID treats files the are too small as empty.
This improves usability in the face of corruption,
but hides the problem in a log message instead of
putting it in the return code.
Create a channel to report these corruptions to fsck
so it can report them to the user.
Also update the manpage and the changelog with the -fsck option.
Closes https://github.com/rfjakob/gocryptfs/issues/191
Diffstat (limited to 'internal/syscallcompat/sys_linux.go')
0 files changed, 0 insertions, 0 deletions