Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0f87e8e4 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "fs/crypto: do not clear encryption key before inode is updated"

parents c7bfb4a3 add89d47
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -606,8 +606,6 @@ int fscrypt_get_encryption_info(struct inode *inode)
	if (res)
		goto out;

	memzero_explicit(crypt_info->ci_raw_key,
		sizeof(crypt_info->ci_raw_key));
do_ice:
	if (cmpxchg(&inode->i_crypt_info, NULL, crypt_info) == NULL)
		crypt_info = NULL;