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>
Showing
- MAINTAINERS 9 additions, 0 deletionsMAINTAINERS
- fs/Kconfig 4 additions, 0 deletionsfs/Kconfig
- fs/Makefile 1 addition, 0 deletionsfs/Makefile
- fs/backing-file.c 48 additions, 0 deletionsfs/backing-file.c
- fs/open.c 0 additions, 38 deletionsfs/open.c
- fs/overlayfs/Kconfig 1 addition, 0 deletionsfs/overlayfs/Kconfig
- fs/overlayfs/file.c 1 addition, 0 deletionsfs/overlayfs/file.c
- include/linux/backing-file.h 17 additions, 0 deletionsinclude/linux/backing-file.h
- include/linux/fs.h 0 additions, 3 deletionsinclude/linux/fs.h
Please register or sign in to comment