e2fsck: Print an explicit message when the bad block inode is updated

Some users were confused about why the filesystem was modified.

Addresses-Sourceforge-Bug: #756460

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
bitmap-optimize
Theodore Ts'o 2008-02-27 15:10:20 -05:00
parent 558df54458
commit 4f9abdcb30
1 changed files with 1 additions and 0 deletions

View File

@ -97,6 +97,7 @@ void read_bad_blocks_file(e2fsck_t ctx, const char *bad_blocks_file,
/*
* Finally, update the bad blocks from the bad_block_map
*/
printf("%s: Updating bad block inode.\n", ctx->device_name);
retval = ext2fs_update_bb_inode(fs, bb_list);
if (retval) {
com_err("ext2fs_update_bb_inode", retval,