]> asedeno.scripts.mit.edu Git - linux.git/commit
ubifs: wire up new fscrypt ioctls
authorEric Biggers <ebiggers@google.com>
Mon, 5 Aug 2019 02:35:49 +0000 (19:35 -0700)
committerEric Biggers <ebiggers@google.com>
Tue, 13 Aug 2019 02:18:50 +0000 (19:18 -0700)
commit62de25927a2558324f2f425545cdc90682168ca9
tree975849998d154fcc2e97cef387e5d1346df523bc
parent8ce589c773180f15d9ef426679a92909e8233dbe
ubifs: 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 UBIFS use
fscrypt_drop_inode().

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

Reviewed-by: Theodore Ts'o <tytso@mit.edu>
Signed-off-by: Eric Biggers <ebiggers@google.com>
fs/ubifs/ioctl.c
fs/ubifs/super.c