Clean the statfs_flags_to_str function.
Clean the statfs_flags_to_str function.

Remove code duplication, make the whole thing easier to read.

Signed-off-by: Cyril Roelandt <73ab1f8ebf7a7cfe55f85ed775611eefab6987ae@gmail.com>

MichielPater/dfc,Rolinh/dfc