]> git.karo-electronics.de Git - karo-tx-linux.git/commit
fat: ix mount option parsing
authorJan Kara <jack@suse.cz>
Thu, 29 Nov 2012 03:18:51 +0000 (14:18 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 5 Dec 2012 05:23:43 +0000 (16:23 +1100)
commit568fa633c47781b287b320fb7f2cb589b632f196
tree708d108de0b3e2bf85883633c0706f84dd93d922
parent0c0c04a75181cf988b9d0fb6273de1f5e7058b1d
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>
fs/fat/inode.c