diff options
author | Chengguang Xu <cgxu519@gmx.com> | 2018-06-07 17:05:07 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2018-06-07 17:34:34 -0700 |
commit | 478ae0ca08c239e83803191317ae99d66708306c (patch) | |
tree | cf5b694e217e98f2103e2086576063d394b295bc /crypto | |
parent | 8d856c72b42d585fb17a8aa18454e03a0cf9b2b8 (diff) | |
download | linux-478ae0ca08c239e83803191317ae99d66708306c.tar.bz2 |
fs/9p: detect invalid options as much as possible
Currently when detecting invalid options in option parsing, some
options(e.g. msize) just set errno and allow to continuously validate
other options so that it can detect invalid options as much as possible
and give proper error messages together.
This patch applies same rule to option 'cache' and 'access' when
detecting -EINVAL.
Link: http://lkml.kernel.org/r/1525340676-34072-2-git-send-email-cgxu519@gmx.com
Signed-off-by: Chengguang Xu <cgxu519@gmx.com>
Reviewed-by: Andrew Morton <akpm@linux-foundation.org>
Cc: Eric Van Hensbergen <ericvh@gmail.com>
Cc: Ron Minnich <rminnich@sandia.gov>
Cc: Latchesar Ionkov <lucho@ionkov.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'crypto')
0 files changed, 0 insertions, 0 deletions