fix wrong use of sizeof in yaffs_checkpt_close
authorliaohua <liaohua4@huawei.com>
Thu, 23 Apr 2020 03:30:20 +0000 (11:30 +0800)
committerCharles Manning <cdhmanning@gmail.com>
Thu, 23 Apr 2020 04:07:51 +0000 (16:07 +1200)
There is a distinct bug that sizeof was used incorrectly,
causing the judgment to be ineffective and always flushing checkpt buffer.

Signed-off-by: liaohua <liaohua4@huawei.com>

No differences found