linux-stable/fs/f2fs
Eric Biggers 53fedcc09c f2fs: reserve bits for fs-verity
Reserve an F2FS feature flag and inode flag for fs-verity.  This is an
in-development feature that is planned be discussed at LSF/MM 2018 [1].
It will provide file-based integrity and authenticity for read-only
files.  Most code will be in a filesystem-independent module, with
smaller changes needed to individual filesystems that opt-in to
supporting the feature.  An early prototype supporting F2FS is available
[2].  Reserving the F2FS on-disk bits for fs-verity will prevent users
of the prototype from conflicting with other new F2FS features.

Note that we're reserving the inode flag in f2fs_inode.i_advise, which
isn't really appropriate since it's not a hint or advice.  But
->i_advise is already being used to hold the 'encrypt' flag; and F2FS's
->i_flags uses the generic FS_* values, so it seems ->i_flags can't be
used for an F2FS-specific flag without additional work to remove the
assumption that ->i_flags uses the generic flags namespace.

[1] https://marc.info/?l=linux-fsdevel&m=151690752225644
[2] https://git.kernel.org/pub/scm/linux/kernel/git/mhalcrow/linux.git/log/?h=fs-verity-dev

Signed-off-by: Eric Biggers <ebiggers@google.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
2018-03-28 12:56:49 -07:00
..
acl.c posix_acl: convert posix_acl.a_refcount from atomic_t to refcount_t 2018-01-02 19:27:28 -08:00
acl.h f2fs: remove dead code f2fs_check_acl 2016-09-14 16:52:36 -07:00
checkpoint.c f2fs: check blkaddr more accuratly before issue a bio 2018-03-18 23:33:50 -07:00
data.c f2fs: check blkaddr more accuratly before issue a bio 2018-03-18 23:33:50 -07:00
debug.c f2fs: inject fault to kzalloc 2018-01-02 19:27:29 -08:00
dir.c f2fs: introduce a new mount option test_dummy_encryption 2018-03-17 14:02:57 +09:00
extent_cache.c f2fs: remove redundant initialization of pointer 'p' 2018-03-13 08:05:45 +09:00
f2fs.h f2fs: reserve bits for fs-verity 2018-03-28 12:56:49 -07:00
file.c f2fs: clean up with F2FS_BLK_ALIGN 2018-03-27 20:09:32 -07:00
gc.c f2fs: do gc in greedy mode for whole range if gc_urgent mode is set 2018-03-13 08:05:54 +09:00
gc.h f2fs: add an ioctl to disable GC for specific file 2018-01-22 14:56:35 -08:00
hash.c f2fs: check entire encrypted bigname when finding a dentry 2017-05-04 11:44:35 -04:00
inline.c f2fs: don't put dentry page in pagecache into highmem 2018-03-13 08:05:03 +09:00
inode.c f2fs: remove unneeded set_cold_node() 2018-03-17 13:57:33 +09:00
Kconfig fs/*/Kconfig: drop links to 404-compliant http://acl.bestbits.at 2018-01-01 12:45:37 -07:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
namei.c f2fs: introduce a new mount option test_dummy_encryption 2018-03-17 14:02:57 +09:00
node.c f2fs: don't track new nat entry in nat set 2018-03-27 20:10:29 -07:00
node.h f2fs: don't track new nat entry in nat set 2018-03-27 20:10:29 -07:00
recovery.c f2fs: fix to handle looped node chain during recovery 2018-03-13 08:05:40 +09:00
segment.c f2fs: Add a segment type check in inplace write 2018-03-27 20:13:54 -07:00
segment.h f2fs: check blkaddr more accuratly before issue a bio 2018-03-18 23:33:50 -07:00
shrinker.c f2fs: obsolete ALLOC_NID_LIST list 2017-10-10 12:49:53 -07:00
super.c f2fs: no need to initialize zero value for GFP_F2FS_ZERO 2018-03-27 20:12:53 -07:00
sysfs.c f2fs: introduce F2FS_FEATURE_LOST_FOUND feature 2018-03-17 14:02:47 +09:00
trace.c f2fs: fix potential hangtask in f2fs_trace_pid 2018-01-02 19:27:30 -08:00
trace.h
xattr.c f2fs: correct removexattr behavior for null valued extended attribute 2018-01-22 14:56:57 -08:00
xattr.h f2fs: guard macro variables with braces 2017-04-10 19:48:10 -07:00