Daniel Phillips <[email protected]> writes:

> The iattr passed here seem to be uninitialized:
>
>       sbi->logmap = tux_new_inode(sbi->rootdir, &iattr, 0);
>
> Why not pass &(struct iattr){ }?

I think "static iattr" is more prefer, it would be in .bss, and it would
be zeroed by initialization of program.
-- 
OGAWA Hirofumi <[email protected]>

_______________________________________________
Tux3 mailing list
[email protected]
http://mailman.tux3.org/cgi-bin/mailman/listinfo/tux3

Reply via email to