staging/lustre/obdecho: Better handle invalid create requests
authorOleg Drokin <green@linuxhacker.ru>
Wed, 10 Feb 2016 18:00:19 +0000 (13:00 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 12 Feb 2016 03:29:55 +0000 (19:29 -0800)
commit01de911e140cedc64244e159cd092ff276522b39
tree2cc7df1bd4c50a7c3e5f32bf64936411c7b0c790
parent61ece0e60d5db836dcec2707c3c89bc83ac2046d
staging/lustre/obdecho: Better handle invalid create requests

When gettng an invalid create request in echo code (wrong group,
or no group at all), just return an error instead of crashing.

Signed-off-by: Oleg Drokin <green@linuxhacker.ru>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lustre/obdecho/echo_client.c