Re: [PATCH] dcache: add extra sanity checks of the dentry in dentry_free()
From: Jori Koolstra
Date: Wed Apr 22 2026 - 09:16:34 EST
On Wed, Apr 22, 2026 at 07:29:48AM -0400, Jeff Layton wrote:
>
> +#define DENTRY_WARN_ONCE(condition, dentry) \
> + WARN_ONCE((condition), "dentry=%p d_flags=0x%x\n", (dentry), (dentry)->d_flags)
>
I guess this is one of those instances where using %p is acceptable?
Maybe Documentation/process/deprecated.rst is worded a bit too harshly.