Re: [PATCH v5 1/5] dcache: export d_find_alias_rcu() for modular filesystems

From: Eric Biggers

Date: Wed Oct 21 2026 - 13:25:14 EST


On Tue, Oct 20, 2026 at 08:26:46PM +0000, Alex Markuze wrote:
> The Ceph subvolume quarantine ancestry walk needs to find a dentry
> alias under RCU without taking a reference. d_find_alias_rcu() provides
> these semantics, but it is not exported, so a modular Ceph client fails
> at modpost with an undefined reference to the helper.
>
> Export d_find_alias_rcu() to GPL modules so filesystem modules can use
> the existing RCU lookup without changing its lifetime rules.
>
> Reported-by: kernel test robot <lkp@xxxxxxxxx>
> Closes: https://lore.kernel.org/oe-kbuild-all/202610171220.i77KPiw5-lkp@xxxxxxxxx/
> Signed-off-by: Alex Markuze <amarkuze@xxxxxxxxxx>

This is a prerequisite for later commits rather than a bug fix. So it
shouldn't really have Reported-by and Closes tags, even if you found out
it was needed via the kernel test robot.

- Eric