OSDN Git Service

e2fsprogs: fix blk_t <- blk64_t assignment mismatches
authorDarrick J. Wong <darrick.wong@oracle.com>
Mon, 7 Oct 2013 13:51:48 +0000 (09:51 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Mon, 7 Oct 2013 13:51:48 +0000 (09:51 -0400)
commit4dbfd79d1458ce1259b951377e341aeb6197f8c1
tree686b661a8fbdcb55345b50faa1207a5fcca1f6d8
parent581646b94f3b57a461105968b49105a1357216ea
e2fsprogs: fix blk_t <- blk64_t assignment mismatches

Fix all the places where we should be using a blk64_t instead of a
blk_t.  These fixes are more severe because 64bit values could be
truncated silently.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
18 files changed:
debugfs/logdump.c
debugfs/set_fields.c
e2fsck/e2fsck.h
e2fsck/journal.c
e2fsck/message.c
e2fsck/pass1.c
e2fsck/pass3.c
e2fsck/rehash.c
e2fsck/unix.c
e2fsck/util.c
lib/ext2fs/closefs.c
lib/ext2fs/ext2fsP.h
lib/ext2fs/fileio.c
lib/ext2fs/inode.c
lib/ext2fs/punch.c
lib/ext2fs/tst_iscan.c
misc/dumpe2fs.c
misc/tune2fs.c