]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
fix affs parse_options()
authorAl Viro <viro@zeniv.linux.org.uk>
Sun, 24 Jan 2010 05:06:22 +0000 (00:06 -0500)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 9 Feb 2010 12:50:48 +0000 (04:50 -0800)
commit30d3844a878b9d6adb2aa76961042f0c73c7de6c
treed9f7cbf85be4ca7b025a8ecb3eed7b3369e21e1d
parentd842c31e636e5dbc85c3c75d1b964a6ff6e4daeb
fix affs parse_options()

commit 217686e98321a4ff4c1a6cc535e511e37c5d2dbf upstream.

Error handling in that sucker got broken back in 2003.  If function
returns 0 on failure, it's not nice to add return -EINVAL into it.
Adding return 1 on other failure exits is also not a good thing (and
yes, original success exits with 1 and some of failure exits with 0
are still there; so's the original logics in callers).

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
fs/affs/super.c