Skip to content
Commit ce4b8156 authored by Dawei Li's avatar Dawei Li Committed by Gao Xiang
Browse files

erofs: protect s_inodes with s_inode_list_lock for fscache

s_inodes is superblock-specific resource, which should be
protected by sb's specific lock s_inode_list_lock.

Link: https://lore.kernel.org/r/TYCP286MB23238380DE3B74874E8D78ABCA299@TYCP286MB2323.JPNP286.PROD.OUTLOOK.COM


Fixes: 7d419637 ("erofs: Support sharing cookies in the same domain")
Reviewed-by: default avatarYue Hu <huyue2@coolpad.com>
Reviewed-by: default avatarJia Zhu <zhujia.zj@bytedance.com>
Reviewed-by: default avatarJingbo Xu <jefflexu@linux.alibaba.com>
Signed-off-by: default avatarDawei Li <set_pte_at@outlook.com>
Signed-off-by: default avatarGao Xiang <hsiangkao@linux.alibaba.com>
parent e7933278
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment