commit | a93d40696073076b26bc11052f7cc99588d74dae | [log] [tgz] |
---|---|---|
author | Theodore Ts'o <tytso@mit.edu> | Thu Jan 22 15:55:49 2009 -0500 |
committer | Theodore Ts'o <tytso@mit.edu> | Thu Jan 22 15:55:49 2009 -0500 |
tree | 3710a5753240695a7fc5dd0fb21db70f66df9f87 | |
parent | 1f790a7cc1fbb0dc2d2f621d2508f52a62f80150 [diff] |
ext2fs_new_inode(): Add sanity check to assure a valid inode number Add a sanity check to makesure that even if the superblock field s_first_inode is insane, that we won't return an invalid inode number. (The function will return the error EXT2_ET_INODE_ALLOC_FAIL in that case.) Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>