Re: [PATCH] fscrypt: allow filesystems to disable symlink target caching

From: Eric Biggers

Date: Thu Oct 15 2026 - 15:41:13 EST


On Thu, Oct 15, 2026 at 09:52:11PM +0300, Alex Markuze wrote:
> Hi Eric,
>
> This supports the concurrent CephFS subvolume quarantine series.
> There’s no Fixes: tag since this isn't addressing an existing upstream
> regression.
>
> The quarantine series adds checks to Ceph's ->get_link(). However, if
> an encrypted symlink target was cached prior to quarantine, the VFS
> bypasses that callback entirely when following or reading it. While
> the target data is still valid, access now needs to be denied.
>
> This patch adds an opt-out for symlink caching and enables it for
> Ceph, handling the encrypted-symlink case for the concurrent series
> without affecting other filesystems.
>

That series wasn't sent to me. Is it
https://lore.kernel.org/r/cover.1792074165.git.amarkuze@xxxxxxxxxx/ ?
It would make more sense to add this patch to that series so that they
can be reviewed together. I can potentially apply a prerequisite patch
by itself, but we'd first need to know that the rest has been reviewed
and will be accepted too, otherwise it will be unused code.

- Eric