fs/ntfs3: Pass flags to ntfs_set_ea in ntfs_set_acl_ex
mainline inclusion from mainline-v5.15 commit 398c35f4 category: feature bugzilla: https://gitee.com/openeuler/kernel/issues/I4G67J?from=project-issue CVE: NA ---------------------------------------------------------------------- In case of removing of xattr there must be XATTR_REPLACE flag and zero length. We already check XATTR_REPLACE in ntfs_set_ea, so now we pass XATTR_REPLACE to ntfs_set_ea. Reviewed-by:Kari Argillander <kari.argillander@gmail.com> Signed-off-by:
Konstantin Komarov <almaz.alexandrovich@paragon-software.com> Signed-off-by:
Yin Xiujiang <yinxiujiang@kylinos.cn> Signed-off-by:
Zheng Zengkai <zhengzengkai@huawei.com> Acked-by:
Hou Tao <houtao1@huawei.com> Acked-by:
Xie XiuQi <xiexiuqi@huawei.com> Signed-off-by:
Zheng Zengkai <zhengzengkai@huawei.com>
Loading
Please sign in to comment