mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2025-01-20 12:30:13 +07:00
f424f664f0
This patch adds encryption policy and password salt support through ioctl implementation. It adds three ioctls: F2FS_IOC_SET_ENCRYPTION_POLICY, F2FS_IOC_GET_ENCRYPTION_POLICY, F2FS_IOC_GET_ENCRYPTION_PWSALT, which use xattr operations. Note that, these definition and codes are taken from ext4 crypto support. For f2fs, xattr operations and on-disk flags for superblock and inode were changed. Signed-off-by: Michael Halcrow <mhalcrow@google.com> Signed-off-by: Theodore Ts'o <tytso@mit.edu> Signed-off-by: Ildar Muslukhov <muslukhovi@gmail.com> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
10 lines
375 B
Makefile
10 lines
375 B
Makefile
obj-$(CONFIG_F2FS_FS) += f2fs.o
|
|
|
|
f2fs-y := dir.o file.o inode.o namei.o hash.o super.o inline.o
|
|
f2fs-y += checkpoint.o gc.o data.o node.o segment.o recovery.o
|
|
f2fs-$(CONFIG_F2FS_STAT_FS) += debug.o
|
|
f2fs-$(CONFIG_F2FS_FS_XATTR) += xattr.o
|
|
f2fs-$(CONFIG_F2FS_FS_POSIX_ACL) += acl.o
|
|
f2fs-$(CONFIG_F2FS_IO_TRACE) += trace.o
|
|
f2fs-$(CONFIG_F2FS_FS_ENCRYPTION) += crypto_policy.o
|