yaffs direct: Prevent yaffs_start_up being called twice.
authorCharles Manning <cdhmanning@gmail.com>
Wed, 18 Jan 2012 01:43:13 +0000 (14:43 +1300)
committerCharles Manning <cdhmanning@gmail.com>
Wed, 18 Jan 2012 01:43:13 +0000 (14:43 +1300)
commitda279cc0ca8272f8ddb7fd3fbd4d09fc054e8c11
tree52d52b22048150ea345049d658d34f1b99641333
parentdd11c8153f7abaa9d567fe8cbea139b7f251edb5
yaffs direct: Prevent yaffs_start_up being called twice.

It is OK to add more devices on the fly, but the yaffs_start_up function
memsets the device back to 0 which nukes the list head and breaks the list.

Signed-off-by: Charles Manning <cdhmanning@gmail.com>
direct/basic-test/dtest.c
direct/basic-test/yaffscfg2k.c
direct/yaffsfs.c