commit | 1ddd0d9a3177356f2a29c8f3826ad79e1ad18397 | [log] [tgz] |
---|---|---|
author | Grant Erickson <marathon96@gmail.com> | Fri Apr 08 08:51:34 2011 -0700 |
committer | David Woodhouse <David.Woodhouse@intel.com> | Wed May 25 02:00:50 2011 +0100 |
tree | 040b7bdc00b8cba4e51440e5aa8d598555bc2678 | |
parent | 3e45cf5e85a4f344fc4c8c901ac057a2402db125 [diff] |
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>