[PATCH v2 3/7] tracefs: Avoid using the ei->dentry pointer unnecessarily