]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit43b2c72eff8a6486c17a871722820a92a56f21e3
tree4038124e6ded2b6d2eb54385d86d245af58f2b91
parent8a7d303a2a14219a609ded0a1a9a8c3c75e16a18
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