commit | ee34c52c7115b60a7c96b2034dd1737765dd5493 | [log] [tgz] |
---|---|---|
author | Steven Rostedt (VMware) <rostedt@goodmis.org> | Wed Dec 08 10:27:31 2021 -0500 |
committer | Steven Rostedt (VMware) <rostedt@goodmis.org> | Sat Dec 11 09:34:31 2021 -0500 |
tree | aeb64c958896deb658409c4842ea3205ec46f9d5 | |
parent | c8a7ff13f5fc6e6b313de2a8e02304c2a90a3906 [diff] |
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: Christian Brauner <christian.brauner@ubuntu.com> Reported: https://lore.kernel.org/all/20211208104454.nhxyvmmn6d2qhpwl@wittgenstein/ Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>