summaryrefslogtreecommitdiffstats
path: root/drivers/mtd/nand/ndfc.c
diff options
context:
space:
mode:
authorGrant Erickson <marathon96@gmail.com>2011-04-08 17:51:34 +0200
committerDavid Woodhouse <David.Woodhouse@intel.com>2011-05-25 03:00:50 +0200
commit1ddd0d9a3177356f2a29c8f3826ad79e1ad18397 (patch)
tree040b7bdc00b8cba4e51440e5aa8d598555bc2678 /drivers/mtd/nand/ndfc.c
parentmtd: mtdchar: retry large buffer allocations (diff)
downloadlinux-1ddd0d9a3177356f2a29c8f3826ad79e1ad18397.tar.xz
linux-1ddd0d9a3177356f2a29c8f3826ad79e1ad18397.zip
JFFS2: retry large buffer allocations
Replace direct call to kmalloc for a potentially large, contiguous buffer allocation with one to mtd_kmalloc_up_to which helps ensure the operation can succeed under low-memory, highly- fragmented situations albeit somewhat more slowly. Signed-off-by: Grant Erickson <marathon96@gmail.com> Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com> Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'drivers/mtd/nand/ndfc.c')
0 files changed, 0 insertions, 0 deletions