Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Sat, 1 Dec 2001 12:43:37 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Sat, 1 Dec 2001 12:43:27 -0500 Received: from netfinity.realnet.co.sz ([196.28.7.2]:58083 "HELO netfinity.realnet.co.sz") by vger.kernel.org with SMTP id ; Sat, 1 Dec 2001 12:43:14 -0500 Date: Sat, 1 Dec 2001 19:48:01 +0200 (SAST) From: Zwane Mwaikambo X-X-Sender: To: OGAWA Hirofumi Cc: Linux Kernel Subject: Re: [PATCH] if (foo) kfree(foo) /fs cleanup + reverted JBD code path changes In-Reply-To: <87667qrhg8.fsf@devron.myhome.or.jp> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Sun, 2 Dec 2001, OGAWA Hirofumi wrote: > In all failed cases, this message will be outputted. I think I shouldn't do > so. (or remove this message.) I found all sorts of interesting things in my little adventure... Heres an interesting one; drivers/fc4/fc.c: l.fcmds = kmalloc (count * sizeof(fcp_cmnd), GFP_KERNEL); if (!l.fcmds) { kfree (l.fcmds); printk ("FC: Cannot allocate memory for forcing offline\n"); return -ENOMEM; } - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/