Re: WARNING: CPU: 1 PID: 14735 at fs/dcache.c:365 dentry_free+0x100/0x128

From: Helge Deller
Date: Wed Jul 20 2022 - 02:54:16 EST


On 7/20/22 05:29, Al Viro wrote:
> On Sat, Jul 16, 2022 at 07:27:30AM +0200, Helge Deller wrote:
>> On 7/15/22 15:33, Hillf Danton wrote:
>
>> [108565.341434] dentry->d_u.d_rcu = 0x416be770
>
> Incidentally, does that match the address of __d_free() on your build,
> or is it something different?

I don't think it's __d_free().
The source is:
pr_err("dentry->d_u.d_rcu = %pS\n", dentry->d_u.d_rcu.func);
so the "%pS" would probably have resolved the pointer to string "__d_free" (or something else).

Helge