[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAOQ4uxjH3JmNd8yiBwz11+j_t=PArPGeGUHCukiNpw9L1BUp6A@mail.gmail.com>
Date: Tue, 23 Dec 2025 13:40:48 +0100
From: Amir Goldstein <amir73il@...il.com>
To: Gao Xiang <hsiangkao@...ux.alibaba.com>
Cc: Hongbo Li <lihongbo22@...wei.com>, linux-fsdevel@...r.kernel.org,
linux-erofs@...ts.ozlabs.org, linux-kernel@...r.kernel.org,
Chao Yu <chao@...nel.org>, Christian Brauner <brauner@...nel.org>,
"Darrick J. Wong" <djwong@...nel.org>, Christoph Hellwig <hch@....de>
Subject: Re: [PATCH v10 03/10] fs: Export alloc_empty_backing_file
On Tue, Dec 23, 2025 at 10:31 AM Gao Xiang <hsiangkao@...ux.alibaba.com> wrote:
>
>
>
> On 2025/12/23 09:56, Hongbo Li wrote:
> > There is no need to open nonexistent real files if backing files
> > couldn't be backed by real files (e.g., EROFS page cache sharing
> > doesn't need typical real files to open again).
> >
> > Therefore, we export the alloc_empty_backing_file() helper, allowing
> > filesystems to dynamically set the backing file without real file
> > open. This is particularly useful for obtaining the correct @path
> > and @inode when calling file_user_path() and file_user_inode().
> >
> > Signed-off-by: Hongbo Li <lihongbo22@...wei.com>
>
> Reviewed-by: Gao Xiang <hsiangkao@...ux.alibaba.com>
>
> (I hope Amir could ack this particular patch too..)
As long as Chritian is ok with this, I don't mind.
Acked-by: Amir Goldstein <amir73il@...il.com>
Thanks,
Amir.
Powered by blists - more mailing lists