pass1.c (e2fsck_pass1): Check for symlinks that have the

immutable flag set (and offer to clear them).
bitmap-optimize
Theodore Ts'o 2001-07-27 22:10:01 -04:00
parent d0952b44bd
commit fd77b2c78a
2 changed files with 6 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2001-07-27 Theodore Tso <tytso@valinux.com>
* pass1.c (e2fsck_pass1): Check for symlinks that have the
immutable flag set (and offer to clear them).
2001-07-26 Theodore Tso <tytso@valinux.com>
* pass1.c (e2fsck_pass1): Free ctx->block_ea_map at the end of

View File

@ -559,6 +559,7 @@ void e2fsck_pass1(e2fsck_t ctx)
check_size(ctx, &pctx);
ctx->fs_blockdev_count++;
} else if (LINUX_S_ISLNK (inode.i_mode)) {
check_immutable(ctx, &pctx);
ctx->fs_symlinks_count++;
if (!inode.i_blocks) {
if (inode.i_size_high ||