Skip to content
Commit ee34c52c authored by Steven Rostedt (VMware)'s avatar Steven Rostedt (VMware)
Browse files

tracefs: Use d_inode() helper function to get the dentry inode



Instead of referencing the inode from a dentry via dentry->d_inode, use
the helper function d_inode(dentry) instead. This is the considered the
correct way to access it.

Reported-by: default avatarChristian Brauner <christian.brauner@ubuntu.com>
Reported: https://lore.kernel.org/all/20211208104454.nhxyvmmn6d2qhpwl@wittgenstein/


Signed-off-by: default avatarSteven Rostedt (VMware) <rostedt@goodmis.org>
parent c8a7ff13
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment