kernel_optimize_test/fs/ubifs
Eric Biggers 4c030fa887 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>
2020-09-22 06:48:36 -07:00
..
auth.c
budget.c
commit.c
compress.c
crypto.c
debug.c
debug.h
dir.c ubifs: use fscrypt_prepare_new_inode() and fscrypt_set_context() 2020-09-22 06:48:36 -07:00
file.c
find.c
gc.c
io.c
ioctl.c
journal.c This pull request contains changes for JFFS2, UBI and UBIFS 2020-08-10 18:20:04 -07:00
Kconfig
key.h
log.c
lprops.c treewide: Use fallthrough pseudo-keyword 2020-08-23 17:36:59 -05:00
lpt_commit.c
lpt.c
Makefile
master.c
misc.c
misc.h
orphan.c
recovery.c
replay.c
sb.c
scan.c
shrinker.c
super.c
tnc_commit.c
tnc_misc.c
tnc.c
ubifs-media.h
ubifs.h
xattr.c