Whamcloud - gitweb
filefrag: exit with error code if an error is hit
authorAndreas Dilger <adilger@dilger.ca>
Tue, 27 May 2014 16:56:45 +0000 (12:56 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Tue, 27 May 2014 16:56:45 +0000 (12:56 -0400)
commit29758d2fc5270a4e5975f1355a7a6d0fe6bc1605
tree3e04f1686893c4a0bca9da6843d30af89bf3335e
parent1f15ba003446a741c0a7295ab0eaaed7fce8f7d2
filefrag: exit with error code if an error is hit

If an error is hit during filefrag operation, it will continue to run
(if multiple files are specified on the command-line), but will exit
with a non-zero value, so that callers can determine that some error
was hit.

Clean up the printing of FIEMAP flags and print some newer flags that
were missing.  Also print unknown flags as hex values.

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