Commit d71db6b5 authored by Amir Goldstein's avatar Amir Goldstein Committed by Yang Yingliang
Browse files

ovl: simplify i_ino initialization



mainline inclusion
from mainline-v5.7-rc1
commit 62c832ed
category: bugfix
bugzilla: NA
CVE: NA

-------------------------------------------------

Move i_ino initialization to ovl_inode_init() to avoid the dance of setting
i_ino in ovl_fill_inode() sometimes on the first call and sometimes on the
seconds call.

Signed-off-by: default avatarAmir Goldstein <amir73il@gmail.com>
Signed-off-by: default avatarMiklos Szeredi <mszeredi@redhat.com>
Signed-off-by: default avatarZheng Liang <zhengliang6@huawei.com>
Reviewed-by: default avatarZhang Yi <yi.zhang@huawei.com>
Signed-off-by: default avatarYang Yingliang <yangyingliang@huawei.com>
parent 3aea08f3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment