[PATCH 6.7 191/309] tracefs: Avoid using the ei->dentry pointer unnecessarily