From fd77b2c78a28a6c706a38c43c0b558ac9e8486ce Mon Sep 17 00:00:00 2001 From: Theodore Ts'o Date: Fri, 27 Jul 2001 22:10:01 -0400 Subject: [PATCH] pass1.c (e2fsck_pass1): Check for symlinks that have the immutable flag set (and offer to clear them). --- e2fsck/ChangeLog | 5 +++++ e2fsck/pass1.c | 1 + 2 files changed, 6 insertions(+) diff --git a/e2fsck/ChangeLog b/e2fsck/ChangeLog index af2125e4..5a770615 100644 --- a/e2fsck/ChangeLog +++ b/e2fsck/ChangeLog @@ -1,3 +1,8 @@ +2001-07-27 Theodore Tso + + * pass1.c (e2fsck_pass1): Check for symlinks that have the + immutable flag set (and offer to clear them). + 2001-07-26 Theodore Tso * pass1.c (e2fsck_pass1): Free ctx->block_ea_map at the end of diff --git a/e2fsck/pass1.c b/e2fsck/pass1.c index 3df234da..501f4485 100644 --- a/e2fsck/pass1.c +++ b/e2fsck/pass1.c @@ -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 ||