diff options
author | 2020-09-16 21:11:26 -0700 | |
---|---|---|
committer | 2020-09-22 06:48:33 -0700 | |
commit | 02ce5316afc86274c55c7b07a81ad6411d28f077 (patch) | |
tree | 42ed8986b21f77fbbf2f0b8050a76e7189e96f85 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | ext4: factor out ext4_xattr_credits_for_new_inode() (diff) | |
download | wireguard-linux-02ce5316afc86274c55c7b07a81ad6411d28f077.tar.xz wireguard-linux-02ce5316afc86274c55c7b07a81ad6411d28f077.zip |
ext4: use fscrypt_prepare_new_inode() and fscrypt_set_context()
Convert ext4 to use the new functions fscrypt_prepare_new_inode() and
fscrypt_set_context(). This avoids calling
fscrypt_get_encryption_info() from within a transaction, which can
deadlock because fscrypt_get_encryption_info() isn't GFP_NOFS-safe.
For more details about this problem, see the earlier patch
"fscrypt: add fscrypt_prepare_new_inode() and fscrypt_set_context()".
Link: https://lore.kernel.org/r/20200917041136.178600-4-ebiggers@kernel.org
Signed-off-by: Eric Biggers <ebiggers@google.com>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions