OSDN Git Service

e2fsprogs: fix inode and block relocation functions to use blk64_t
authorDarrick J. Wong <darrick.wong@oracle.com>
Mon, 7 Oct 2013 13:57:36 +0000 (09:57 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Mon, 7 Oct 2013 13:57:43 +0000 (09:57 -0400)
commita25487cbaf0e340144cb4673d52136abdb3eb2cf
tree250b75be757409ee9c04ba25c49dd75a31c642ee
parent4dbfd79d1458ce1259b951377e341aeb6197f8c1
e2fsprogs: fix inode and block relocation functions to use blk64_t

The inode and block relocation functions aren't currently compiled in
(so we don't need to worry about breaking ABI compatibility).  They
were originally intended for use by resize2fs, but we never ended up
using them, so (wisely) they weren't ever included in libext2fs as an
exported interface (they're not even compiled by the Makefile).

Fix them so that in case we ever use them, so that in places where raw
data types (int, long, etc.) stood in for blk_t and blk64_t.  Also fix
some sites where we should probably be using blk64_t.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
lib/ext2fs/brel.h
lib/ext2fs/brel_ma.c
lib/ext2fs/irel.h