coda_flag_children(): cope with dentries turning negative
authorAl Viro <viro@zeniv.linux.org.uk>
Tue, 7 Nov 2023 17:35:37 +0000 (12:35 -0500)
committerAl Viro <viro@zeniv.linux.org.uk>
Sat, 25 Nov 2023 07:31:04 +0000 (02:31 -0500)
commitb31559f8e471f402cd71117f35b9cde52d192138
tree6419ab71ed94d5b5ba54c6d7d632d7be5ce8eb3b
parentb7a14708aafeb12730ab23de8ecedd14f401a30c
coda_flag_children(): cope with dentries turning negative

->d_lock on parent does not stabilize ->d_inode of child.
We don't do much with that inode in there, but we need
at least to avoid struct inode getting freed under us...

[rcu_read_lock() is not needed here, since parent's ->d_lock
provides an rcu-critical area]

Reviewed-by: Christian Brauner <brauner@kernel.org>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/coda/cache.c