]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
fs: factor out backing_file_mmap() helper
authorAmir Goldstein <amir73il@gmail.com>
Fri, 13 Oct 2023 09:49:37 +0000 (12:49 +0300)
committerAmir Goldstein <amir73il@gmail.com>
Sat, 23 Dec 2023 14:35:09 +0000 (16:35 +0200)
commitf567377e406c032fff0799bde4fdf4a977529b84
treed5da6a53b7bb039eaaf9e75720a24f4b0a955602
parent9b7e9e2f5d5c3d079ec46bc71b114012e362ea6e
fs: factor out backing_file_mmap() helper

Assert that the file object is allocated in a backing_file container
so that file_user_path() could be used to display the user path and
not the backing file's path in /proc/<pid>/maps.

Signed-off-by: Amir Goldstein <amir73il@gmail.com>
fs/backing-file.c
fs/overlayfs/file.c
include/linux/backing-file.h