Skip to content

Commit

Permalink
Add info log so users know when mount point is ready
Browse files Browse the repository at this point in the history
  • Loading branch information
netheril96 committed Apr 19, 2024
1 parent 3b3f5bb commit 2600377
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion sources/fuse_high_level_ops_base.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -351,10 +351,11 @@ fuse_operations FuseHighLevelOpsBase::build_ops(const FuseHighLevelOpsBase* op,
#endif
auto op = static_cast<FuseHighLevelOpsBase*>(fuse_get_context()->private_data);
op->initialize(info);
INFO_LOG("Fuse operations initialized");
TRACE_LOG("Initalize with fuse op class %s", typeid(*op).name());
return op;
};
opt.destroy = [](void* data) { TRACE_LOG("Destroy"); };
opt.destroy = [](void* data) { INFO_LOG("Fuse operations destroyed"); };
opt.statfs = &FuseHighLevelOpsBase::static_statfs;
opt.getattr = &FuseHighLevelOpsBase::static_getattr;
opt.fgetattr = &FuseHighLevelOpsBase::static_fgetattr;
Expand Down

0 comments on commit 2600377

Please sign in to comment.