forked from torvalds/linux
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
composefs: Add kconfig and build support
This commit adds Makefile and Kconfig for composefs, and updates Makefile and Kconfig files in the fs directory Signed-off-by: Alexander Larsson <alexl@redhat.com>
- Loading branch information
1 parent
2b61e7c
commit b1d9807
Showing
4 changed files
with
25 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# SPDX-License-Identifier: GPL-2.0-only | ||
|
||
config COMPOSEFS_FS | ||
tristate "Composefs filesystem support" | ||
select EXPORTFS | ||
help | ||
Composefs is a filesystem that allows combining file content from | ||
existing regular files with a metadata directory structure from | ||
a separate binary file. This is useful to share file content between | ||
many different directory trees, such as in a local container image store. | ||
|
||
Composefs also allows using fs-verity to validate the content of the | ||
content-files as well as the metadata file which allows dm-verity | ||
like validation with the flexibility of regular files. | ||
|
||
For more information see Documentation/filesystems/composefs.rst | ||
|
||
If unsure, say N. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# SPDX-License-Identifier: GPL-2.0-only | ||
|
||
obj-$(CONFIG_COMPOSEFS_FS) += composefs.o | ||
|
||
composefs-objs += cfs-reader.o cfs.o |