aboutsummaryrefslogtreecommitdiff
path: root/internal/fusefrontend/file_dir_ops.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/fusefrontend/file_dir_ops.go')
-rw-r--r--internal/fusefrontend/file_dir_ops.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/fusefrontend/file_dir_ops.go b/internal/fusefrontend/file_dir_ops.go
index b69e7bc..683da87 100644
--- a/internal/fusefrontend/file_dir_ops.go
+++ b/internal/fusefrontend/file_dir_ops.go
@@ -154,7 +154,7 @@ func (f *File) Readdirent(ctx context.Context) (entry *fuse.DirEntry, errno sysc
if err != nil {
tlog.Warn.Printf("Readdirent: incomplete entry %q: Could not read .name: %v",
cName, err)
- f.rootNode.reportMitigatedCorruption(cName)
+ reportMitigatedCorruption(ctx, cName)
continue
}
cName = cNameLong
@@ -166,7 +166,7 @@ func (f *File) Readdirent(ctx context.Context) (entry *fuse.DirEntry, errno sysc
if err != nil {
tlog.Warn.Printf("Readdirent: could not decrypt entry %q: %v",
cName, err)
- f.rootNode.reportMitigatedCorruption(cName)
+ reportMitigatedCorruption(ctx, cName)
continue
}
// Override the ciphertext name with the plaintext name but reuse the rest