+ cleanup-dead-code-from-ext2-mount-code.patch added to -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled

     ext2: clean up dead code from mount code

has been added to the -mm tree.  Its filename is

     cleanup-dead-code-from-ext2-mount-code.patch

See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find
out what to do about this

------------------------------------------------------
Subject: ext2: clean up dead code from mount code
From: "Theodore Ts'o" <tytso@xxxxxxx>


The variable i is guaranteed to be the same as db_count given the previous
for loop.  So get rid of it since it's dead code.

Signed-off-by: "Theodore Ts'o" <tytso@xxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxx>
---

 fs/ext2/super.c |    1 -
 1 files changed, 1 deletion(-)

diff -puN fs/ext2/super.c~cleanup-dead-code-from-ext2-mount-code fs/ext2/super.c
--- devel/fs/ext2/super.c~cleanup-dead-code-from-ext2-mount-code	2006-05-22 14:27:24.000000000 -0700
+++ devel-akpm/fs/ext2/super.c	2006-05-22 14:27:24.000000000 -0700
@@ -857,7 +857,6 @@ static int ext2_fill_super(struct super_
 	}
 	if (!ext2_check_descriptors (sb)) {
 		printk ("EXT2-fs: group descriptors corrupted!\n");
-		db_count = i;
 		goto failed_mount2;
 	}
 	sbi->s_gdb_count = db_count;
_

Patches currently in -mm which might be from tytso@xxxxxxx are

origin.patch
cleanup-dead-code-from-ext2-mount-code.patch

-
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux