e2fsprogs/lib
Zheng Liu 716a3c3536 libext2fs: handle inline_data in block iterator function
After applied this commit (a7f4c635), we have banned to traverse blocks
for an inode which has inline data because no block belongs to it.  But
before calling this function, we need to check inline data flag.  This
commit add a sanity check ext2fs_inode_has_valid_blocks2() to fix them
except that ext2fs_expand_dir because it will be fixed by another patch.

Meanwhile in this commit it fixes a bug that when we kill a file we
could leak an inode.

Signed-off-by: Zheng Liu <wenqing.lz@taobao.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2014-03-04 08:46:13 -05:00
..
blkid Merge branch 'maint' into next 2014-02-23 23:07:38 -05:00
e2p Merge branch 'maint' into next 2014-02-20 21:39:29 -05:00
et Use makeinfo --html instead of texi2html 2013-12-28 15:40:56 -05:00
ext2fs libext2fs: handle inline_data in block iterator function 2014-03-04 08:46:13 -05:00
quota Fix up the Makefiles dependencies in lib/ext2fs and lib/quota 2014-01-30 18:48:23 -05:00
ss libss: fix potential buffer overrun in list_rqs 2014-01-30 18:25:15 -05:00
uuid libuuid: add error checking to syscalls in get_clock() 2014-01-10 21:06:07 -05:00
Makefile.bsd-lib Include LDFLAGS when building BSD libraries 2012-05-11 22:21:08 -04:00
Makefile.checker Add configure options --enable-symlink-build and --enable-symlink-install 2010-05-17 19:21:42 -04:00
Makefile.darwin-lib Add configure options --enable-symlink-build and --enable-symlink-install 2010-05-17 19:21:42 -04:00
Makefile.elf-lib Put ELF_OTHER_LIBS in the right place for the linker 2012-08-06 12:30:49 -04:00
Makefile.library Add configure options --enable-symlink-build and --enable-symlink-install 2010-05-17 19:21:42 -04:00
Makefile.profile Add configure options --enable-symlink-build and --enable-symlink-install 2010-05-17 19:21:42 -04:00
Makefile.solaris-lib Put ELF_OTHER_LIBS in the right place for the linker 2012-08-06 12:30:49 -04:00
config.h.in Merge branch 'maint' into next 2014-01-30 19:05:16 -05:00
dirpaths.h.in Shorten compile commands run by the build system 2011-09-18 17:34:37 -04:00
fpopen.c Shorten compile commands run by the build system 2011-09-18 17:34:37 -04:00