From: Theodore Ts'o Date: Tue, 3 Dec 2013 02:49:24 +0000 (-0500) Subject: e2fsck: use blk_t instead of blk64_t in check_resize_inode() X-Git-Tag: v1.42.9~105 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b849f712000fa48e11e7ee8342362876783542ab;p=thirdparty%2Fe2fsprogs.git e2fsck: use blk_t instead of blk64_t in check_resize_inode() The resize inode only works on 32-bit block numbers, so use blk_t instead of blk64_t. This avoids some -Wconversion noise, and slims the compiled code slightly, especially on 32-bit platforms. Signed-off-by: "Theodore Ts'o" --- diff --git a/e2fsck/super.c b/e2fsck/super.c index 352f16df8..ce824f464 100644 --- a/e2fsck/super.c +++ b/e2fsck/super.c @@ -317,7 +317,7 @@ void check_resize_inode(e2fsck_t ctx) struct problem_context pctx; int i, gdt_off, ind_off; dgrp_t j; - blk64_t blk, pblk; + blk_t blk, pblk; blk_t expect; /* for resize inode, which is 32-bit only */ __u32 *dind_buf = 0, *ind_buf; errcode_t retval;