Re: [PATCH] if (foo) kfree(foo) /fs cleanup + reverted JBD code path changes

From: Zwane Mwaikambo (zwane@linux.realnet.co.sz)
Date: Sat Dec 01 2001 - 12:48:01 EST


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/



This archive was generated by hypermail 2b29 : Fri Dec 07 2001 - 21:00:16 EST