[PATCH v3 2/2] Add API to iterate over inodes in EROFS

Kelvin Zhang zhangkelvin at google.com
Tue Dec 14 13:59:28 AEDT 2021


I think we still need parent_nid to skip "." and ".." directories
correctly? Let's leave these parameters there.

On Mon, Dec 13, 2021 at 6:50 PM Gao Xiang <hsiangkao at linux.alibaba.com>
wrote:

> On Mon, Dec 13, 2021 at 06:25:09PM -0800, Kelvin Zhang wrote:
> > Fixed most of the issues you pointed out. Except I didn't quite
> understand
> > the "nid is optional unless we do a fsck." part. Not sure how we can
> > implement the iterate dir function w/o nid. Can you provide more context?
>
> There were two nids there, parent_nid and nid. I meant you could leave
> dir nid (no matter how it's called) mandatorily. dir's parent nid is
> optional.
>
> Sorry if I made some confusion at that time.
>
> Thanks,
> Gao Xiang
>


-- 
Sincerely,

Kelvin Zhang
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ozlabs.org/pipermail/linux-erofs/attachments/20211213/d912181b/attachment.htm>


More information about the Linux-erofs mailing list