RE: [f2fs-dev] [PATCH] f2fs: fix to reset variable correctlly

From: Chao Yu
Date: Tue Dec 15 2015 - 04:43:42 EST


> -----Original Message-----
> From: Fan Li [mailto:fanofcode.li@xxxxxxxxxxx]
> Sent: Tuesday, December 15, 2015 5:03 PM
> To: 'Jaegeuk Kim'
> Cc: linux-kernel@xxxxxxxxxxxxxxx; linux-f2fs-devel@xxxxxxxxxxxxxxxxxxxxx
> Subject: [f2fs-dev] [PATCH] f2fs: fix to reset variable correctlly
>
> f2fs_map_blocks will set m_flags and m_len to 0, so we don't need to
> reset m_flags ourselves, but have to reset m_len to correct value
> before use it again.
>
> Signed-off-by: Fan li <fanofcode.li@xxxxxxxxxxx>

Reviewed-by: Chao Yu <chao2.yu@xxxxxxxxxxx>

--
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/