Date:2010-01-11 04:29:47 (10 years 4 months ago)
Author:Lars C.
Commit:3cbbb13ce0d7cc45c6b756860ef1d015d2a27576
Message:From d3699249d687dc0b4d8d4e0e5ac3f9405d31b1ac Mon Sep 17 00:00:00 2001 Subject: [PATCH] /opt/Projects/openwrt/target/linux/xburst/patches-2.6.31/300-jffs2-su mmery-vmalloc.patch

Files: fs/jffs2/summary.c (2 diffs)

Change Details

fs/jffs2/summary.c
3232        return -ENOMEM;
3333    }
3434
35    c->summary->sum_buf = kmalloc(sum_size, GFP_KERNEL);
35    c->summary->sum_buf = vmalloc(sum_size);
3636
3737    if (!c->summary->sum_buf) {
3838        JFFS2_WARNING("Can't allocate buffer for writing out summary information!\n");
...... 
5151
5252    jffs2_sum_disable_collecting(c->summary);
5353
54    kfree(c->summary->sum_buf);
54    vfree(c->summary->sum_buf);
5555    c->summary->sum_buf = NULL;
5656
5757    kfree(c->summary);

Archive Download the corresponding diff file



interactive