diff options
author | Amir Goldstein <amir73il@gmail.com> | 2023-10-02 16:19:46 +0200 |
---|---|---|
committer | Amir Goldstein <amir73il@gmail.com> | 2023-12-23 15:35:08 +0100 |
commit | f91a704f7161c2cf0fcd41fa9fbec4355b813fff (patch) | |
tree | c1af6faa09cad5d82be32ae5d76381cb79c4de19 /fs/overlayfs/file.c | |
parent | fsnotify: optionally pass access range in file permission hooks (diff) | |
download | linux-f91a704f7161c2cf0fcd41fa9fbec4355b813fff.tar.xz 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/overlayfs/file.c')
-rw-r--r-- | fs/overlayfs/file.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/overlayfs/file.c b/fs/overlayfs/file.c index 4e46420c8fdd..a6da3eaf6d4f 100644 --- a/fs/overlayfs/file.c +++ b/fs/overlayfs/file.c @@ -13,6 +13,7 @@ #include <linux/security.h> #include <linux/mm.h> #include <linux/fs.h> +#include <linux/backing-file.h> #include "overlayfs.h" #include "../internal.h" /* for sb_init_dio_done_wq */ |