f2fs: avoid freqeunt write_inode calls
authorJaegeuk Kim <jaegeuk.kim@samsung.com>
Mon, 10 Jun 2013 00:17:01 +0000 (09:17 +0900)
committerJaegeuk Kim <jaegeuk.kim@samsung.com>
Fri, 14 Jun 2013 00:04:43 +0000 (09:04 +0900)
commitb3783873cc2214542d3da9a1aa800b20919d5889
tree7b2e4f8eafd726c9c97bfde832a0178c840815a7
parentd7cc950b4c910e4440485be784493880a0d09086
f2fs: avoid freqeunt write_inode calls

If update_inode is called, we don't need to do write_inode.
So, let's use a *dirty* flag for each inode.

Signed-off-by: Jaegeuk Kim <jaegeuk.kim@samsung.com>
fs/f2fs/f2fs.h
fs/f2fs/file.c
fs/f2fs/inode.c
fs/f2fs/super.c