Re: [PATCH 13/31] e2fsprogs: Less critical fixes to use the appropriate blk*t types

Theodore Ts'o
2013-10-07T13:59:20Z

On Mon, Sep 30, 2013 at 06:28:05PM -0700, Darrick J. Wong wrote:
> More fixing of 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.
> These fixes aren't as critical as the previous patch.
>
> Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>

Applied with the final commit description change:

Author: Darrick J. Wong <darrick.wong@oracle.com>
Date: Mon Oct 7 09:57:36 2013 -0400

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>

- Ted