Re: [PATCH v2 1/3] fuse: skip dcache instantiation for readdirplus names with embedded NUL

From: Miklos Szeredi

Date: Wed Nov 18 2026 - 08:38:34 EST


On Tue, 17 Nov 2026 at 14:52, Junyoung Jang <graypanda.inzag@xxxxxxxxx> wrote:

> Some FUSE servers include a terminating NUL in namelen. Follow
> nfs_prime_dcache() in commit 78d04af4995a1 ("NFS: nfs_prime_dcache must
> validate the filename") by skipping dcache instantiation without
> failing getdents(). Return -EIO from fuse_direntplus_link() so
> parse_dirplusfile() sends FUSE_FORGET for the unused lookup reference
> and continues readdir.

Applied, thanks.

Miklos