This is a note to let you know that I've just added the patch titled

    ext4: fix uninitialized variable in ext4_register_li_request

to the 2.6.37-stable tree which can be found at:
    
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
     ext4-fix-uninitialized-variable-in-ext4_register_li_request.patch
and it can be found in the queue-2.6.37 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <[email protected]> know about it.


>From 6c5a6cb998854f3c579ecb2bc1423d302bcb1b76 Mon Sep 17 00:00:00 2001
From: Andrew Morton <[email protected]>
Date: Mon, 10 Jan 2011 12:30:17 -0500
Subject: ext4: fix uninitialized variable in ext4_register_li_request

From: Andrew Morton <[email protected]>

commit 6c5a6cb998854f3c579ecb2bc1423d302bcb1b76 upstream.

fs/ext4/super.c: In function 'ext4_register_li_request':
fs/ext4/super.c:2936: warning: 'ret' may be used uninitialized in this function

It looks buggy to me, too.

Cc: Lukas Czerner <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: "Theodore Ts'o" <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>

---
 fs/ext4/super.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/fs/ext4/super.c
+++ b/fs/ext4/super.c
@@ -2916,7 +2916,7 @@ static int ext4_register_li_request(stru
        struct ext4_sb_info *sbi = EXT4_SB(sb);
        struct ext4_li_request *elr;
        ext4_group_t ngroups = EXT4_SB(sb)->s_groups_count;
-       int ret;
+       int ret = 0;
 
        if (sbi->s_li_request != NULL)
                return 0;


Patches currently in stable-queue which might be from [email protected] 
are

queue-2.6.37/proc-kcore-fix-seeking.patch
queue-2.6.37/writeback-stop-background-kupdate-works-from-livelocking-other-works.patch
queue-2.6.37/radio-aimslab.c-fix-gcc-4.5-bug.patch
queue-2.6.37/ext4-fix-uninitialized-variable-in-ext4_register_li_request.patch
queue-2.6.37/staging-speakup-confusion-in-silent_store.patch
queue-2.6.37/rtc-cmos-fix-suspend-resume.patch
queue-2.6.37/writeback-avoid-livelocking-wb_sync_all-writeback.patch
queue-2.6.37/mm-fix-hugepage-migration.patch
queue-2.6.37/mm-fix-migration-hangs-on-anon_vma-lock.patch
queue-2.6.37/writeback-integrated-background-writeback-work.patch
queue-2.6.37/mm-migration-use-rcu_dereference_protected-when-dereferencing-the-radix-tree-slot-during-file-page-migration.patch

_______________________________________________
stable mailing list
[email protected]
http://linux.kernel.org/mailman/listinfo/stable

Reply via email to