]> www.infradead.org Git - users/willy/xarray.git/commit
ubifs: Move ui->data initialization after initializing security
authorZhihao Cheng <chengzhihao1@huawei.com>
Wed, 10 Apr 2024 07:37:48 +0000 (15:37 +0800)
committerRichard Weinberger <richard@nod.at>
Fri, 12 Jul 2024 19:40:00 +0000 (21:40 +0200)
commit9f5ecacfcee2bda21b100399a9130248d55c2a0c
treef6835a2d84fd176f46516d657958e13440175961
parent7efc34b53b3950ad4fc98b5d25210bae80ab0fde
ubifs: Move ui->data initialization after initializing security

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.

Signed-off-by: Zhihao Cheng <chengzhihao1@huawei.com>
Signed-off-by: Richard Weinberger <richard@nod.at>
fs/ubifs/dir.c