Whamcloud - gitweb
pass1.c (e2fsck_pass1): Check for symlinks that have the
authorTheodore Ts'o <tytso@mit.edu>
Sat, 28 Jul 2001 02:10:01 +0000 (22:10 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Sat, 28 Jul 2001 02:10:01 +0000 (22:10 -0400)
immutable flag set (and offer to clear them).

e2fsck/ChangeLog
e2fsck/pass1.c

index af2125e..5a77061 100644 (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
index 3df234d..501f448 100644 (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 ||