commit | 12faafe45477244bc32e2c58f74f7305cc7e84fa | [log] [tgz] |
---|---|---|
author | Jaegeuk Kim <jaegeuk.kim@samsung.com> | Wed Mar 13 17:45:15 2013 +0900 |
committer | Jaegeuk Kim <jaegeuk.kim@samsung.com> | Mon Mar 18 21:00:09 2013 +0900 |
tree | 6c21e51f3e1471e3182482e7d060be3cb79ecbc6 | |
parent | 12fc760fd632a96f49e96f519c4aed4eb279bb61 [diff] |
f2fs: fix to unlock node page when it was truncated If the node page was truncated, its block address became zero. This means that we don't need to write the node page, but have to unlock NODE_WRITE, decrease the number of dirty node pages, and then unlock_page before returning the f2fs_write_node_page with zero. Reviewed-by: Namjae Jeon <namjae.jeon@samsung.com> Signed-off-by: Jaegeuk Kim <jaegeuk.kim@samsung.com>