-
由 Latchesar Ionkov 提交于
p9_client_stat function doesn't return correct value if it fails. p9_client_stat should return ERR_PTR of the error value when it fails. Instead, it always returns a value to the allocated p9_wstat struct even when it is not populated correctly. This patch makes p9_client_stat to handle failure correctly. Signed-off-by: NLatchesar Ionkov <lucho@ionkov.net> Reviewed-by: NEric Van Hensbergen <ericvh@gmail.com>
742b11a7