summaryrefslogtreecommitdiff
path: root/tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git
diff options
context:
space:
mode:
authorHongbo Li <lihongbo22@huawei.com>2026-01-23 01:31:23 +0000
committerGao Xiang <hsiangkao@linux.alibaba.com>2026-01-23 20:01:13 +0800
commit37364497048c5081d3bfa424638cc91a7a7644e2 (patch)
tree3dc6eb0ff307f38e106dd99911ade139ee841847 /tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git
parent0bd20d8ee3f7b449241d690a17cf0a4981e1c959 (diff)
fs: Export alloc_empty_backing_file
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@huawei.com> Reviewed-by: Gao Xiang <hsiangkao@linux.alibaba.com> Acked-by: Amir Goldstein <amir73il@gmail.com> Acked-by: Christian Brauner <brauner@kernel.org> Signed-off-by: Gao Xiang <hsiangkao@linux.alibaba.com>
Diffstat (limited to 'tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions