diff options
author | Eric Biggers <ebiggers@google.com> | 2020-09-16 21:11:28 -0700 |
---|---|---|
committer | Eric Biggers <ebiggers@google.com> | 2020-09-22 06:48:36 -0700 |
commit | 4c030fa8870e9f0c53bcb91c607476ce7a4d6f2a (patch) | |
tree | 1b95290d378b9358cec7cf2ed70385b77c8b282a /Documentation/admin-guide/kernel-parameters.rst | |
parent | e075b6901047cd4c70b93cfcbe5f67dbc5741fb6 (diff) | |
download | linux-stable-4c030fa8870e9f0c53bcb91c607476ce7a4d6f2a.tar.gz linux-stable-4c030fa8870e9f0c53bcb91c607476ce7a4d6f2a.tar.bz2 linux-stable-4c030fa8870e9f0c53bcb91c607476ce7a4d6f2a.zip |
ubifs: use fscrypt_prepare_new_inode() and fscrypt_set_context()
Convert ubifs to use the new functions fscrypt_prepare_new_inode() and
fscrypt_set_context().
Unlike ext4 and f2fs, this doesn't appear to fix any deadlock bug. But
it does shorten the code slightly and get all filesystems using the same
helper functions, so that fscrypt_inherit_context() can be removed.
It also fixes an incorrect error code where ubifs returned EPERM instead
of the expected ENOKEY.
Link: https://lore.kernel.org/r/20200917041136.178600-6-ebiggers@kernel.org
Signed-off-by: Eric Biggers <ebiggers@google.com>
Diffstat (limited to 'Documentation/admin-guide/kernel-parameters.rst')
0 files changed, 0 insertions, 0 deletions