From: Sam Lang Date: Wed, 19 Dec 2012 19:44:23 +0000 (-1000) Subject: ceph: Check for err on mds request in atomic_open X-Git-Tag: v3.9-rc1~41^2~21^2~59^2~62 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=79aec9844de339531f05b019644ccaf5dd777144;p=pandora-kernel.git ceph: Check for err on mds request in atomic_open The error returned by ceph_mdsc_do_request includes errors sending the request, errors on timeout, or any errors coming from the mds. If ceph_mdsc_do_request returns an error, the reply struct will most likely be bogus. We need to bail out and propogate the error instead of overwriting it. Signed-off-by: Sam Lang Reviewed-by: Sage Weil --- Reading git-diff-tree failed