Remove spammy invalidation failure log
We can't do anything about the invalidation failures and it happens a lot
during readdir lookups. Failures typically happen if the kernel does
not have a dentry for the node yet
Bug: 158313907
Test: m
Change-Id: I556cf2c1dc31dc71b037ec050a7d7003c2e0c97c
diff --git a/jni/FuseDaemon.cpp b/jni/FuseDaemon.cpp
index b23fc52..2c6828e 100644
--- a/jni/FuseDaemon.cpp
+++ b/jni/FuseDaemon.cpp
@@ -368,10 +368,8 @@
fuse_ino_t parent_ino = fuse->ToInode(parent);
std::thread t([=]() {
for (const string& child_name : children) {
- if (fuse_lowlevel_notify_inval_entry(fuse->se, parent_ino, child_name.c_str(),
- child_name.size())) {
- LOG(ERROR) << "Failed to invalidate dentry " << child_name;
- }
+ fuse_lowlevel_notify_inval_entry(fuse->se, parent_ino, child_name.c_str(),
+ child_name.size());
}
});
t.detach();