Whamcloud - gitweb
filefrag: Restore "perfect" number of extents calculation for ext2/ext3
authorTheodore Ts'o <tytso@mit.edu>
Sun, 12 Jul 2009 03:44:56 +0000 (23:44 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Sun, 12 Jul 2009 03:44:56 +0000 (23:44 -0400)
commit9d4bade4ac211e9140e1da93b906c0025336eaef
treeb29663a4825a4052bdfe86bd1d31710c1fde3197
parent42080a8656895eddb0e054c3af86667a5a6aff9f
filefrag: Restore "perfect" number of extents calculation for ext2/ext3

The FIEMAP support added in e2fsprogs 1.41.6 broke the "perfection
would be XXX expects" calculation restore it.

Also fix some gcc -Wall warnings as well.  (Cleaning up gcc -Wall is
what caused me to notice this regression).

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