Whamcloud - gitweb
libext2fs: Add ext2fs_dblist_get_last() and ext2fs_dblist_drop_last()
authorTheodore Ts'o <tytso@mit.edu>
Thu, 13 Mar 2008 04:34:16 +0000 (00:34 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Thu, 13 Mar 2008 04:34:16 +0000 (00:34 -0400)
commit52b1dd5e496c199e9cbcc238f26fd2264a07a2cf
treefb36e75443cdff13a9783bbdc220563488b06f5c
parentd45edec0fb2e5d100d122fdda0914560c64def44
libext2fs: Add ext2fs_dblist_get_last() and ext2fs_dblist_drop_last()

Add two new functions which allows the caller to examine the last
directory block entry added to the list, and to drop if it necessary.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
lib/ext2fs/dblist.c
lib/ext2fs/ext2_err.et.in
lib/ext2fs/ext2fs.h