e2fsprogs/lib
Darrick J. Wong 2a091427bc libext2fs: search all possible blocks in implied_cluster_alloc()
implied_cluster_alloc() is written such that if the the user passes in
a logical block that is the zeroth block in a logical cluster (lblk %
cluster_ratio == 0), then it will assume that there is no physical
cluster mapped to any other part of the logical cluster.

This is not true if we happen to be allocating logical blocks in
reverse order.  Therefore, search the whole cluster, except for the
lblk that we passed in.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2013-10-08 12:08:49 -04:00
..
blkid Try to use secure_getenv() in preference to __secure_getenv() 2013-06-16 14:34:59 -04:00
e2p e2p: Fix 's' handling in parse_num_blocks2() 2013-02-28 20:12:30 -05:00
et Try to use secure_getenv() in preference to __secure_getenv() 2013-06-16 14:34:59 -04:00
ext2fs libext2fs: search all possible blocks in implied_cluster_alloc() 2013-10-08 12:08:49 -04:00
quota misc: fix gcc -Wall warnings 2013-05-19 20:03:48 -04:00
ss Try to use secure_getenv() in preference to __secure_getenv() 2013-06-16 14:34:59 -04:00
uuid misc: cleanup unused variables on MacOS 2012-12-29 17:28:37 -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 Work around Debian Bug #712530 2013-06-16 17:54:39 -04: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