commit | 3f4c4079976f1ccf0a6d675b0115b519f596da89 | [log] [tgz] |
---|---|---|
author | Darrick J. Wong <darrick.wong@oracle.com> | Thu Sep 11 12:43:33 2014 -0700 |
committer | Theodore Ts'o <tytso@mit.edu> | Thu Sep 11 18:06:31 2014 -0400 |
tree | bffb84b31ae395a9e0e437b3acfc83b57d0e10e4 | |
parent | 2646b48d47267e255db54affd1f788c61c7cfb6b [diff] |
tune2fs: always check disable_uninit_bg() return code Enhance disable_uninit_bg() to return error codes -- if something goes wrong, we want to flag the FS as needing a fsck and exit. Mr. Reardon discovered that tune2fs -O ^metadata_csum on a FS with a corrupt bitmap would leave the FS in a weird state. Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com> Reported-by: TR Reardon <thomas_reardon@hotmail.com> Signed-off-by: Theodore Ts'o <tytso@mit.edu>