summaryrefslogtreecommitdiff
path: root/fs/f2fs
diff options
context:
space:
mode:
authorEric Biggers <ebiggers@google.com>2020-09-17 07:11:26 +0300
committerEric Biggers <ebiggers@google.com>2020-09-22 16:48:33 +0300
commit02ce5316afc86274c55c7b07a81ad6411d28f077 (patch)
tree42ed8986b21f77fbbf2f0b8050a76e7189e96f85 /fs/f2fs
parent177cc0e71008b7a0737bf55c88538d0b9e6e9191 (diff)
downloadlinux-02ce5316afc86274c55c7b07a81ad6411d28f077.tar.xz
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 'fs/f2fs')
0 files changed, 0 insertions, 0 deletions