f2fs: avoid m_flags overlay when allocating more data blocks
authorKinglong Mee <kinglongmee@gmail.com>
Thu, 23 Feb 2017 11:55:05 +0000 (19:55 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Mon, 27 Feb 2017 17:59:52 +0000 (09:59 -0800)
commit3f2be04304cf10f2ef074399f8dd565bd00ddcae
tree548f77dfff93831cfb7be3709fc89a014fc59d56
parent6bfaf7b150f7dba04024b7b6420773c09606538c
f2fs: avoid m_flags overlay when allocating more data blocks

When more than one data blocks are allocated, the F2FS_MAP_UNWRITTEN/MAPPED
flags will be overlapped by F2FS_MAP_NEW at the later times.

Signed-off-by: Kinglong Mee <kinglongmee@gmail.com>
Reviewed-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/data.c