]> asedeno.scripts.mit.edu Git - linux.git/commit
ext4: 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)
commit29b3692e6dbf82266ec3c2764c236f8708d7fc89
tree984c157afd0e2d1491c7aab26c9e13b8934ea905
parent5ab7189a31bad40e4b44020cae6e56c8074721a1
ext4: 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 ext4_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.

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