lkml.org 
[lkml]   [2021]   [Dec]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] tracefs: Use d_inode() helper function to get the dentry inode
On Wed, Dec 08, 2021 at 10:30:52AM -0500, Steven Rostedt wrote:
> From: "Steven Rostedt (VMware)" <rostedt@goodmis.org>
>
> 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>
> ---

It's honestly not that big of a deal but yeah, looks good! :)
Acked-by: Christian Brauner <christian.brauner@ubuntu.com>

\
 
 \ /
  Last update: 2021-12-08 16:33    [W:3.525 / U:0.020 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site