[PATCH 2/9] erofs-utils: initialize i_nlink to 2 in erofs_init_empty_dir()

Gao Xiang hsiangkao at linux.alibaba.com
Thu Jul 27 16:16:50 AEST 2023



On 2023/7/27 12:57, Jingbo Xu wrote:
> Set dir->i_nlink to 2 as "." and ".." are allocated.
> 
> tarerofs_init_empty_dir() is removed then.
> 
> Signed-off-by: Jingbo Xu <jefflexu at linux.alibaba.com>
>   

Reviewed-by: Gao Xiang <hsiangkao at linux.alibaba.com>

Thanks,
Gao Xiang


More information about the Linux-erofs mailing list