Whamcloud - gitweb
Ex2fs_unlink() will return an error if both the name and inode number are
authorTheodore Ts'o <tytso@mit.edu>
Sat, 8 Jan 2005 03:09:49 +0000 (22:09 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Sat, 8 Jan 2005 03:09:49 +0000 (22:09 -0500)
commit4e60fb609b330fb488f2fcbfe9e330b1441201c0
treebfa285295ee6d1e49ead4ff8b363941707dca991
parent1d3a95111820e3e8e79b2ae18ed04f050cd3f0cb
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.
lib/ext2fs/ChangeLog
lib/ext2fs/unlink.c