Re: [PATCH] f2fs: fix to unlock node page when it was truncated

From: Namjae Jeon
Date: Mon Mar 18 2013 - 07:31:55 EST


2013/3/18, Jaegeuk Kim <jaegeuk.kim@xxxxxxxxxxx>:
> 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.
>
> Signed-off-by: Jaegeuk Kim <jaegeuk.kim@xxxxxxxxxxx>
Reviewed-by: Namjae Jeon <namjae.jeon@xxxxxxxxxxx>
Looks good to me~

Thanks!
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/