summaryrefslogtreecommitdiffstats
path: root/fs/9p
diff options
context:
space:
mode:
authorChengguang Xu2018-06-08 02:05:03 +0200
committerLinus Torvalds2018-06-08 02:34:34 +0200
commit8d856c72b42d585fb17a8aa18454e03a0cf9b2b8 (patch)
treeac1346d6c3165b36b801e5c293766bf0ed712cc2 /fs/9p
parentfs: ocfs2: use new return type vm_fault_t (diff)
downloadkernel-qcow2-linux-8d856c72b42d585fb17a8aa18454e03a0cf9b2b8.tar.gz
kernel-qcow2-linux-8d856c72b42d585fb17a8aa18454e03a0cf9b2b8.tar.xz
kernel-qcow2-linux-8d856c72b42d585fb17a8aa18454e03a0cf9b2b8.zip
net/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 'trans' and 'version' when detecting -EINVAL. Link: http://lkml.kernel.org/r/1525340676-34072-1-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 'fs/9p')
0 files changed, 0 insertions, 0 deletions