summaryrefslogtreecommitdiffstats
path: root/fs/Makefile
diff options
context:
space:
mode:
authorAmir Goldstein <amir73il@gmail.com>2023-10-02 17:19:46 +0300
committerAmir Goldstein <amir73il@gmail.com>2023-12-23 16:35:08 +0200
commitf91a704f7161c2cf0fcd41fa9fbec4355b813fff (patch)
treec1af6faa09cad5d82be32ae5d76381cb79c4de19 /fs/Makefile
parentd9e5d31084b024734e64307521414ef0ae1d5333 (diff)
downloadlinux-f91a704f7161c2cf0fcd41fa9fbec4355b813fff.tar.gz
linux-f91a704f7161c2cf0fcd41fa9fbec4355b813fff.tar.bz2
linux-f91a704f7161c2cf0fcd41fa9fbec4355b813fff.zip
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>
Diffstat (limited to 'fs/Makefile')
-rw-r--r--fs/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/Makefile b/fs/Makefile
index 75522f88e763..a6962c588962 100644
--- a/fs/Makefile
+++ b/fs/Makefile
@@ -39,6 +39,7 @@ obj-$(CONFIG_COMPAT_BINFMT_ELF) += compat_binfmt_elf.o
obj-$(CONFIG_BINFMT_ELF_FDPIC) += binfmt_elf_fdpic.o
obj-$(CONFIG_BINFMT_FLAT) += binfmt_flat.o
+obj-$(CONFIG_FS_STACK) += backing-file.o
obj-$(CONFIG_FS_MBCACHE) += mbcache.o
obj-$(CONFIG_FS_POSIX_ACL) += posix_acl.o
obj-$(CONFIG_NFS_COMMON) += nfs_common/