]> git.ipfire.org Git - thirdparty/e2fsprogs.git/commit
filefrag: fix broken extent emulation and uninitialized variables
authorDarrick J. Wong <darrick.wong@oracle.com>
Sun, 17 May 2015 00:22:43 +0000 (20:22 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Sun, 17 May 2015 00:22:43 +0000 (20:22 -0400)
commitf008143cf5bfb93b5f5a0cb7018091b6f38301f8
treefee0ea5dac569917ce59880af0094acd1a3dbe93
parentb0851392244e2a87cad67739d86c7489d4db3222
filefrag: fix broken extent emulation and uninitialized variables

This started with the fm_ext being uninitialized, but upon closer
analysis I discovered that forcing extent emulation in FIBMAP mode
was reporting an extent for every block in the file.  Fix both
problems.

The Coverity bug was 1297512.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
misc/filefrag.c