[RFC PATCH 2/6] shmem: add tmpfs_create_mount() to create tmpfs mounts internally

sashiko-bot at kernel.org sashiko-bot at kernel.org
Wed Sep 23 15:54:08 PDT 2026


> From: "Pratyush Yadav (Google)" <pratyush at kernel.org>
> 
> 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 at kernel.org>

Sashiko has reviewed this patch and found no issues. It looks great!

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20260923224408.3745689-1-pratyush@kernel.org?part=2




More information about the kexec mailing list