commit | 4e60fb609b330fb488f2fcbfe9e330b1441201c0 | [log] [tgz] |
---|---|---|
author | Theodore Ts'o <tytso@mit.edu> | Fri Jan 07 22:09:49 2005 -0500 |
committer | Theodore Ts'o <tytso@mit.edu> | Fri Jan 07 22:09:49 2005 -0500 |
tree | bfa285295ee6d1e49ead4ff8b363941707dca991 | |
parent | 1d3a95111820e3e8e79b2ae18ed04f050cd3f0cb [diff] |
Ex2fs_unlink() will return an error if both the name and inode number are unspecified, to avoid doing something surprising (such as unconditionally deleting the first directory entry). Directory entries are now deleted by coalescing them with the previous directory entry if possible, to avoid directory fragmentation. This is not an issue with the e2fsprogs suite, but may be a problem for some of the users of libext2fs, such as e2tools.