]> git.baikalelectronics.ru Git - kernel.git/commit
ubifs: allow encryption ioctls in compat mode
authorEric Biggers <ebiggers@google.com>
Mon, 19 Dec 2016 19:12:48 +0000 (11:12 -0800)
committerRichard Weinberger <richard@nod.at>
Tue, 17 Jan 2017 13:33:41 +0000 (14:33 +0100)
commit5a4d5f495d9915018aec24f03ba13dbbfa6d8d13
treef081e9863b2f6e993410c40667b0e5d77ac66730
parente3e2c7210a4f0fde4180af4589325e045148036e
ubifs: allow encryption ioctls in compat mode

The ubifs encryption ioctls did not work when called by a 32-bit program
on a 64-bit kernel.  Since 'struct fscrypt_policy' is not affected by
the word size, ubifs just needs to allow these ioctls through, like what
ext4 and f2fs do.

Signed-off-by: Eric Biggers <ebiggers@google.com>
Signed-off-by: Richard Weinberger <richard@nod.at>
fs/ubifs/ioctl.c