commit | 2b1cae7a2697ec841c41579d29cdcb0ab39ef73e | [log] [tgz] |
---|---|---|
author | Theodore Ts'o <tytso@mit.edu> | Mon Jan 16 17:49:46 2012 -0500 |
committer | Theodore Ts'o <tytso@mit.edu> | Mon Jan 16 17:49:46 2012 -0500 |
tree | f3ad44e136df5f97347d25507579026d2bcd8dc2 | |
parent | 24d364fc43601ea3d2e01cc506633302fa091d8f [diff] |
debugfs: optimize ncheck and improve its error checking Don't call ext2fs_get_pathname() for every single directory; instead, only call it if we find a matching directory entry. In addition, if ext2fs_get_pathname() fails, print the number of the parent directory in angle parents so the user gets some additional information. Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>