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

Commit 1835402e authored by Jaegeuk Kim's avatar Jaegeuk Kim
Browse files

ubifs, fscrypt: cache decrypted symlink target in ->i_link



Reapplied fscrypt patch in ubifs.

Fixes: 1f1be4a7 ("fscrypt: cache decrypted symlink target in ->i_link")
Signed-off-by: default avatarJaegeuk Kim <jaegeuk@kernel.org>
parent 846bf3b8
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -276,6 +276,8 @@ static void ubifs_i_callback(struct rcu_head *head)
{
	struct inode *inode = container_of(head, struct inode, i_rcu);
	struct ubifs_inode *ui = ubifs_inode(inode);

	fscrypt_free_inode(inode);
	kmem_cache_free(ubifs_inode_slab, ui);
}