mkfs.f2fs: avoid dumplicate extensions
authorSheng Yong <shengyong1@huawei.com>
Mon, 30 Nov 2015 10:41:06 +0000 (10:41 +0000)
committerJaegeuk Kim <jaegeuk@kernel.org>
Wed, 2 Dec 2015 21:37:38 +0000 (13:37 -0800)
commit1540a28ca952c087b78660792340b74b192e8787
tree156cb12c75e42b28bc9151fc5b908cfcbd031b6d
parent43095ca4c293249affc29a975c151c92d24b13b5
mkfs.f2fs: avoid dumplicate extensions

Before copying an user specified extension to extension_list, check if it
is already in the list. User specified extensions are delimitted by token
either ',' or ' '.

Signed-off-by: Sheng Yong <shengyong1@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
mkfs/f2fs_format.c