Re: [PATCH v4] erofs: accept source file descriptor via fsconfig

Gao Xiang <[email protected]> Mon, 20 Jul 2026 17:45:11 +0800
Newsgroups org.ozlabs.lists.linux-erofs,org.kernel.vger.linux-fsdevel
Message-ID <[email protected]>

On 2026/7/17 21:41, Giuseppe Scrivano wrote:
> Allow userspace to pass an already-opened file descriptor as the mount
> source instead of a path string.  This is useful for tools that already
> hold an fd to the image, such as composefs reusing an existing erofs
> backing file.
> 
> Signed-off-by: Giuseppe Scrivano <[email protected]>
> ---

Looks good and tested:

Reviewed-by: Gao Xiang <[email protected]>

I wonder if Aleksa and Christian have more comments since
anyway it touches fc->source, but I will queue for the next
cycle if there is no other opinion.

Thanks,
Gao Xiang