f2fs: fix incorrect parsing with option string
authorChao Yu <chao2.yu@samsung.com>
Tue, 18 Mar 2014 01:07:59 +0000 (09:07 +0800)
committerJaegeuk Kim <jaegeuk.kim@samsung.com>
Tue, 18 Mar 2014 01:13:02 +0000 (10:13 +0900)
commit04c0938844695ab97b79a477a9f57748fe97d2f5
tree7cd1fb81cbbcc0d82984cb393634b1f404dfe6e6
parente4fc5fbfc9e285356be7e5208bb1a2fa377b2656
f2fs: fix incorrect parsing with option string

Previously 'background_gc={on***,off***}' is being parsed as correct option,
with this patch we cloud fix the trivial bug in mount process.

Change log from v1:
 o need to check length of parameter suggested by Jaegeuk Kim.

Signed-off-by: Chao Yu <chao2.yu@samsung.com>
Signed-off-by: Jaegeuk Kim <jaegeuk.kim@samsung.com>
fs/f2fs/super.c