e2fsprogs/debugfs
Eric Sandeen 11ba79b3a6 e2fsprogs: Remove impossible name_len tests.
The name_len field in ext2_dir_entry is actually comprised of
the name length in the lower 8 bytes, and the filetype in the
high 8 bytes.  So in places, we mask name_len with 0xFF to
get the actual length.

But once we have masked name_len with 0xFF, there is no point
in testing whether it is greater than EXT2_NAME_LEN, which
is 255 - or 0xFF.  So all of these tests are extraneous.

Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
2011-09-16 18:43:04 -04:00
..
Makefile.in Don't use in-tree header files if using system uuid or blkid libraries 2009-10-04 14:45:08 -04:00
debug_cmds.ct debugfs: add a new debugfs command 'blocks' 2011-07-09 12:13:40 -04:00
debugfs.8.in debugfs: add a new debugfs command 'blocks' 2011-07-09 12:13:40 -04:00
debugfs.c dumpe2fs: display "free blocks" as "free clusters" for bigalloc file systems 2011-09-16 10:13:41 -04:00
debugfs.h debugfs: add 64-bit support to the set_field commands 2011-09-16 10:32:02 -04:00
dump.c e2fsprogs: Remove impossible name_len tests. 2011-09-16 18:43:04 -04:00
htree.c e2fsprogs: Remove impossible name_len tests. 2011-09-16 18:43:04 -04:00
icheck.c debugfs: fix icheck finding blocks used for xattrs 2011-06-11 11:29:54 -04:00
jfs_user.h Move linux/jbd.h to ext2fs/kernel-jbd.h, to avoid using the 2001-12-23 19:33:51 -05:00
logdump.c ext2fs: Handle internal journal over 2^32 bytes 2011-06-11 12:17:29 -04:00
ls.c e2fsprogs: Remove impossible name_len tests. 2011-09-16 18:43:04 -04:00
lsdel.c misc: use EXT2_I_SIZE() consistently to get size 2011-07-08 20:52:59 -04:00
ncheck.c debugfs: Fix miscellaneous gcc -Wall warnings 2009-07-11 23:23:16 -04:00
set_fields.c debugfs: add 64-bit support to the set_field commands 2011-09-16 10:32:02 -04:00
unused.c debugfs: Convert to support 64-bit filesystems 2009-09-07 22:46:17 -04:00
util.c debugfs: add 64-bit support to the set_field commands 2011-09-16 10:32:02 -04:00