commit | 1ec79083b2d4614d9dbaea67b5f55b60d7137a2d | [log] [tgz] |
---|---|---|
author | Jaegeuk Kim <jaegeuk.kim@samsung.com> | Thu Dec 26 16:55:22 2013 +0900 |
committer | Jaegeuk Kim <jaegeuk.kim@samsung.com> | Thu Dec 26 20:33:06 2013 +0900 |
tree | 2b3ddcae1dade70d1e18c806c603269c09019852 | |
parent | 58bfaf44df58082c72882b235cae611c975537d4 [diff] |
f2fs: should put the dnode when NEW_ADDR is detected When get_dnode_of_data() in get_data_block() returns a successful dnode, we should put the dnode. But, previously, if its data block address is equal to NEW_ADDR, we didn't do that, resulting in a deadlock condition. So, this patch splits original error conditions with this case, and then calls f2fs_put_dnode before finishing the function. Signed-off-by: Jaegeuk Kim <jaegeuk.kim@samsung.com>