ostep-typos icon indicating copy to clipboard operation
ostep-typos copied to clipboard

A unnecessary read for uninitialized bar inode in Figure 40.4

Open hanhwi opened this issue 1 year ago • 0 comments

Figure 40.4 describes creating /foo/bar.

In the figure, we read and write bar inode, but I think the read is unnecessary because we want to initialize the inode at this step. Why do we need to read the uninitialized inode, here?

I might misunderstood that. Is there any specific reason behind reading the inode before initializing it?

Thanks for your work.

Hanhwi Jang

hanhwi avatar Dec 28 '23 02:12 hanhwi