+10
−8
Loading
maillist inclusion category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/I9MWEQ CVE: NA Reference: https://lore.kernel.org/lkml/20240410073751.2522830-8-chengzhihao1@huawei.com/T/ -------------------------------- Host inode and its' xattr will be written on disk after initializing security when creating symlink or dev, then the host inode and its dentry will be written again in ubifs_jnl_update. There is no need to write inode data in the security initialization pass, just move the ui->data initialization after initializing security. Fixes: d7f0b70d ("UBIFS: Add security.* XATTR support for the UBIFS") Signed-off-by:Zhihao Cheng <chengzhihao1@huawei.com> Signed-off-by:
ZhaoLong Wang <wangzhaolong1@huawei.com>