From: Jaegeuk Kim Date: Wed, 13 Mar 2013 08:45:15 +0000 (+0900) Subject: f2fs: fix to unlock node page when it was truncated X-Git-Tag: v3.10-rc1~45^2~66 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=12faafe45477244bc32e2c58f74f7305cc7e84fa;p=pandora-kernel.git 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 Signed-off-by: Jaegeuk Kim --- Reading git-diff-tree failed