yaffs_guts.c : Fix missing temporary buffers when doing yaffs format on inband tags. master
authorCharles Manning <cdhmanning@gmail.com>
Sat, 15 May 2021 00:33:36 +0000 (12:33 +1200)
committerCharles Manning <cdhmanning@gmail.com>
Sat, 15 May 2021 00:33:36 +0000 (12:33 +1200)
commitebbed01a137b01aaf6423eea1b739a957d8c9551
treed19a936387f249942d70d78a2742204c9cefbc56
parent236b068ddf24a4734f85cf8f7b1280114427ed3d
yaffs_guts.c : Fix missing temporary buffers when doing yaffs format on inband tags.

The low level init was not setting up temporary buffers. This was causing yaffs_format
to crash in the case of formating a device with inband tags.

Solution is to move the temporary buffer creation into low level init.

Signed-off-by: Charles Manning <cdhmanning@gmail.com>
yaffs_guts.c