mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-08 11:50:43 +09:00
ubifs, fscrypt: cache decrypted symlink target in ->i_link
Reapplied fscrypt patch in ubifs.
Fixes: 1f1be4a771 ("fscrypt: cache decrypted symlink target in ->i_link")
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user