commit | 030970ed750b6a169c32ffb8b19bce3150198629 | [log] [tgz] |
---|---|---|
author | Theodore Ts'o <tytso@mit.edu> | Sun Mar 20 20:05:22 2005 -0500 |
committer | Theodore Ts'o <tytso@mit.edu> | Sun Mar 20 20:05:22 2005 -0500 |
tree | b02d1738b6786d0d9c2bbf2f246a2f8eb31ab2c4 | |
parent | ea822eeba373bd0bed6e58a35ce123a9f2768113 [diff] |
Fix e2fsck, debugfs, and the ext2fs_mkdir function so that when we create a new inode we make sure that the extra information in the inode (any extra fields in a large inode and any ea-in-inode information) is cleared. This can happen when e2fsck creates a new root inode or a new lost+found directory, or when the user uses the debugfs write, mknod, or mkdir commands. Otherwise, the newly create inode could inherit garbage (or old EA information) from a previously deleted inode.