fs/9p/v9fs.c (v9fs_parse_options): Handle kstrdup and match_strdup failure. Now that...
authorJim Meyering <jim@meyering.net>
Thu, 6 Mar 2008 23:10:28 +0000 (17:10 -0600)
committerEric Van Hensbergen <ericvh@opteron.9grid.us>
Thu, 15 May 2008 00:23:25 +0000 (19:23 -0500)
commitab31267dfeddf80b2e483f077c8b03905993722b
tree4038124e6ded2b6d2eb54385d86d245af58f2b91
parentee443996a35c1e04f210cafd43d5a98d41e46085
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: Jim Meyering <meyering@redhat.com>
Cc: Ron Minnich <rminnich@sandia.gov>
Cc: Latchesar Ionkov <lucho@ionkov.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Acked-by: Eric Van Hensbergen <ericvh@gmail.com>
fs/9p/v9fs.c