]> git.ipfire.org Git - thirdparty/e2fsprogs.git/commitdiff
e2fsck: Print an explicit message when the bad block inode is updated
authorTheodore Ts'o <tytso@mit.edu>
Wed, 27 Feb 2008 20:10:20 +0000 (15:10 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Wed, 27 Feb 2008 20:10:20 +0000 (15:10 -0500)
Some users were confused about why the filesystem was modified.

Addresses-Sourceforge-Bug: #756460

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

index 36dc208e54000f51e8adf2298662eb31dee80d5b..72f88aa72e75bb6807fa66aa29c13aa21e702532 100644 (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,