f2fs: wire up new fscrypt ioctls
authorEric Biggers <ebiggers@google.com>
Mon, 5 Aug 2019 02:35:48 +0000 (19:35 -0700)
committerEric Biggers <ebiggers@google.com>
Tue, 13 Aug 2019 02:18:50 +0000 (19:18 -0700)
commit8ce589c773180f15d9ef426679a92909e8233dbe
treebccd934160dc40b2d2ed72f2cd450ea41bac15c0
parent29b3692e6dbf82266ec3c2764c236f8708d7fc89
f2fs: wire up new fscrypt ioctls

Wire up the new ioctls for adding and removing fscrypt keys to/from the
filesystem, and the new ioctl for retrieving v2 encryption policies.

The key removal ioctls also required making f2fs_drop_inode() call
fscrypt_drop_inode().

For more details see Documentation/filesystems/fscrypt.rst and the
fscrypt patches that added the implementation of these ioctls.

Acked-by: Jaegeuk Kim <jaegeuk@kernel.org>
Reviewed-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Eric Biggers <ebiggers@google.com>
fs/f2fs/file.c
fs/f2fs/super.c