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)
commitb6394bf1260ce815bd7719fe1e6d03850810385b
treeeadd4a3a86eb67d9395d591902a5765d65dc52ce
parent27f18203551940abf35826a66978daf1b8124c6b
fix wrong use of sizeof in yaffs_checkpt_close

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>
yaffs_checkptrw.c