Skip to content
Commit 1ec79083 authored by Jaegeuk Kim's avatar Jaegeuk Kim
Browse files

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: default avatarJaegeuk Kim <jaegeuk.kim@samsung.com>
parent 58bfaf44
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment