Re: [RFC PATCH 2/6] shmem: add tmpfs_create_mount() to create tmpfs mounts internally
From: sashiko-bot
Date: Wed Sep 23 2026 - 18:54:25 EST
> From: "Pratyush Yadav (Google)" <pratyush@xxxxxxxxxx>
>
> Upcoming commits will add support for preserving a tmpfs mount via LUO.
> While the retrieve logic can create the mount by constructing an options
> string from its preserved data, it is simpler to let it directly pass
> the parameters.
>
> tmpfs_create_mount() allows creating a mount with the specified
> max_blocks and mode. The function only takes max_blocks and mode for now
> because that is all the tmpfs preservation will use. All other values
> are left to their defaults.
>
> Signed-off-by: Pratyush Yadav (Google) <pratyush@xxxxxxxxxx>
Sashiko has reviewed this patch and found no issues. It looks great!
--
Sashiko AI review · https://sashiko.dev/#/patchset/20260923224408.3745689-1-pratyush@xxxxxxxxxx?part=2