]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
fs: prepare for stackable filesystems backing file helpers
authorAmir Goldstein <amir73il@gmail.com>
Mon, 2 Oct 2023 14:19:46 +0000 (17:19 +0300)
committerAmir Goldstein <amir73il@gmail.com>
Sat, 23 Dec 2023 14:35:08 +0000 (16:35 +0200)
commitf91a704f7161c2cf0fcd41fa9fbec4355b813fff
treec1af6faa09cad5d82be32ae5d76381cb79c4de19
parentd9e5d31084b024734e64307521414ef0ae1d5333
fs: prepare for stackable filesystems backing file helpers

In preparation for factoring out some backing file io helpers from
overlayfs, move backing_file_open() into a new file fs/backing-file.c
and header.

Add a MAINTAINERS entry for stackable filesystems and add a Kconfig
FS_STACK which stackable filesystems need to select.

For now, the backing_file struct, the backing_file alloc/free functions
and the backing_file_real_path() accessor remain internal to file_table.c.
We may change that in the future.

Signed-off-by: Amir Goldstein <amir73il@gmail.com>
MAINTAINERS
fs/Kconfig
fs/Makefile
fs/backing-file.c [new file with mode: 0644]
fs/open.c
fs/overlayfs/Kconfig
fs/overlayfs/file.c
include/linux/backing-file.h [new file with mode: 0644]
include/linux/fs.h