ncpfs: fix error return code in ncp_parse_options()
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Thu, 4 Jul 2013 13:43:32 +0000 (21:43 +0800)
committerAl Viro <viro@zeniv.linux.org.uk>
Mon, 8 Jul 2013 09:36:43 +0000 (13:36 +0400)
commit4fbeb19d53cc3ef2da4bd1fd89a5dc9ac04add3a
treebdb18f740589b8add1bd56b54fe349857d97da8b
parent7012b02a2b2c42bb1e1d95040a6e3bb59c7284f7
ncpfs: fix error return code in ncp_parse_options()

Fix to return -EINVAL from the option parse error handling
case instead of 0, as done elsewhere in this function.

Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/ncpfs/inode.c