[JFFS2] Fix allocation of summary buffer
authorDavid Woodhouse <David.Woodhouse@intel.com>
Fri, 1 Aug 2008 09:07:51 +0000 (10:07 +0100)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Fri, 1 Aug 2008 09:07:51 +0000 (10:07 +0100)
commitb7600dba6d4fbf3897e517b322d006986cce831a
tree0b8c7aa760aa73e0832724c5546092997d2a6ef3
parentf6ed6f78d46b43b6d908b39ed3322f7cda23f4a8
[JFFS2] Fix allocation of summary buffer

We can't use vmalloc for the buffer we use for writing summaries,
because some drivers may want to DMA from it. So limit the size to 64KiB
and use kmalloc for it instead.

Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
fs/jffs2/summary.c
fs/jffs2/summary.h