f2fs: fix omitting to update inode page
authorJaegeuk Kim <jaegeuk.kim@samsung.com>
Mon, 26 Aug 2013 12:25:31 +0000 (21:25 +0900)
committerJaegeuk Kim <jaegeuk.kim@samsung.com>
Tue, 27 Aug 2013 12:49:04 +0000 (21:49 +0900)
commit8cb82688097b300dd3f107c3e19c92662fba5359
tree1d26b68f1389afd76383036c22dac3ab4f06bc65
parent65985d935ddd5657c66a8bb3ae9752ed842549b8
f2fs: fix omitting to update inode page

The f2fs_set_link updates its parent inode number, so we should sync this to
the inode block.
Otherwise, the data can be lost after sudden-power-off.

Signed-off-by: Jaegeuk Kim <jaegeuk.kim@samsung.com>
fs/f2fs/namei.c