[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20211208153309.egtqqql75czhc5ms@wittgenstein>
Date: Wed, 8 Dec 2021 16:33:09 +0100
From: Christian Brauner <christian.brauner@...ntu.com>
To: Steven Rostedt <rostedt@...dmis.org>
Cc: LKML <linux-kernel@...r.kernel.org>, linux-fsdevel@...r.kernel.org,
Andrew Morton <akpm@...ux-foundation.org>
Subject: Re: [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@...dmis.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@...ntu.com>
> Reported: https://lore.kernel.org/all/20211208104454.nhxyvmmn6d2qhpwl@wittgenstein/
> Signed-off-by: Steven Rostedt (VMware) <rostedt@...dmis.org>
> ---
It's honestly not that big of a deal but yeah, looks good! :)
Acked-by: Christian Brauner <christian.brauner@...ntu.com>
Powered by blists - more mailing lists