FAT: update the second FAT when writing a file
authorDonggeun Kim <dg77.kim@samsung.com>
Tue, 20 Dec 2011 18:34:27 +0000 (18:34 +0000)
committerWolfgang Denk <wd@denx.de>
Thu, 5 Jan 2012 19:10:38 +0000 (20:10 +0100)
commit627182ea9d0f157f7280aa650dd4c06461b20c3e
tree6f2fbb19e130641762cacc0b9d0dc4b82f5ce259
parent5dd95cf93dfffa1d19a1928990852aac9f55b9d9
FAT: update the second FAT when writing a file

After susccessful write to the FAT partition,
fsck program may print warning message due to different FAT,
provided that the filesystem supports two FATs.

This patch makes the second FAT to be same with the first one
when writing a file.

Signed-off-by: Donggeun Kim <dg77.kim@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
fs/fat/fat_write.c