fat: ix mount option parsing
authorJan Kara <jack@suse.cz>
Tue, 18 Dec 2012 00:02:59 +0000 (16:02 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 18 Dec 2012 01:15:22 +0000 (17:15 -0800)
commit5b3d5aeaa333850756f41350fed2fc95912b2a4f
treeb4988767f7b4781596488638b59988d9ef5d5aff
parent58156c8fbf43e71dd091848d4dbfd780d04016e6
fat: ix mount option parsing

parse_options() is supposed to return value < 0 on error however we
returned 0 (success) in a lot of cases.  This actually was not a problem
in practice because match_token() used by parse_options() is clever and
catches most of the problems for us.

Signed-off-by: Jan Kara <jack@suse.cz>
Cc: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/fat/inode.c