]> git.baikalelectronics.ru Git - kernel.git/commit
fix affs parse_options()
authorAl Viro <viro@zeniv.linux.org.uk>
Sun, 24 Jan 2010 05:06:22 +0000 (00:06 -0500)
committerAl Viro <viro@zeniv.linux.org.uk>
Wed, 27 Jan 2010 03:22:25 +0000 (22:22 -0500)
commit15ab95ec0f0c0221945f4242807fff6288476099
tree8b68ea06a602d92d52e6c5a9d3c976a8991cccc7
parentea719877641967a3f2513f8ec64348f338fb57b0
fix affs parse_options()

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>
fs/affs/super.c