aboutsummaryrefslogtreecommitdiffstats
path: root/fs/f2fs/f2fs.h
diff options
context:
space:
mode:
authorEric Biggers <ebiggers@google.com>2020-09-16 21:11:26 -0700
committerEric Biggers <ebiggers@google.com>2020-09-22 06:48:33 -0700
commit02ce5316afc86274c55c7b07a81ad6411d28f077 (patch)
tree42ed8986b21f77fbbf2f0b8050a76e7189e96f85 /fs/f2fs/f2fs.h
parentext4: factor out ext4_xattr_credits_for_new_inode() (diff)
downloadlinux-dev-02ce5316afc86274c55c7b07a81ad6411d28f077.tar.xz
linux-dev-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 'fs/f2fs/f2fs.h')
0 files changed, 0 insertions, 0 deletions