]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit742541f51a6f7be05b7cba33dbaa4eadde069551
treebdb18f740589b8add1bd56b54fe349857d97da8b
parent347a6ca7e58f73fdbac13da0ac11058b575b648d
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