Skip to content
Commit ab31267d authored by Jim Meyering's avatar Jim Meyering Committed by Eric Van Hensbergen
Browse files

fs/9p/v9fs.c (v9fs_parse_options): Handle kstrdup and match_strdup failure....


fs/9p/v9fs.c (v9fs_parse_options): Handle kstrdup and match_strdup failure. Now that this function can fail, return an int, diagnose other option-parsing failures, and adjust the sole caller: (v9fs_session_init): Handle kstrdup failure. Propagate any new v9fs_parse_options failure "up".

Signed-off-by: default avatarJim Meyering <meyering@redhat.com>
Cc: Ron Minnich <rminnich@sandia.gov>
Cc: Latchesar Ionkov <lucho@ionkov.net>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Acked-by: default avatarEric Van Hensbergen <ericvh@gmail.com>
parent ee443996
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment