Whamcloud - gitweb
filefrag: fix extent count calculation when using FIBMAP
authorTheodore Ts'o <tytso@mit.edu>
Wed, 13 Aug 2014 19:59:20 +0000 (15:59 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Wed, 13 Aug 2014 19:59:20 +0000 (15:59 -0400)
commitc47cd4f28768bd3768c1074ac6b9274fcfddd3cd
treedc616cceb5c5d20e13c693e6b7c579012792a3aa
parent6197c10c580657b95de1abbcb3ca9b3a1d9bf943
filefrag: fix extent count calculation when using FIBMAP

The extent count calculation works correctly with the FIBMAP ioctl in
verbose (-v) mode, but without the verbose option, the calculation was
broken because we weren't properly updating the fm_ext data structures
in non-verbose mode.

Addresses-Launchpad-Bug: #1356496

Signed-off-by: Theodore Ts'o <tytso@mit.edu>
misc/filefrag.c