diff options
author | Sam Lang <sam.lang@inktank.com> | 2012-12-19 19:44:23 (GMT) |
---|---|---|
committer | Alex Elder <elder@inktank.com> | 2013-01-17 18:42:36 (GMT) |
commit | 79aec9844de339531f05b019644ccaf5dd777144 (patch) | |
tree | 319409adbac648492c7d48f6d0ce2a97a255a537 /drivers/net | |
parent | 0fa6ebc600bc8e830551aee47a0e929e818a1868 (diff) | |
download | linux-fsl-qoriq-79aec9844de339531f05b019644ccaf5dd777144.tar.xz |
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 <sam.lang@inktank.com>
Reviewed-by: Sage Weil <sage@inktank.com>
Diffstat (limited to 'drivers/net')
0 files changed, 0 insertions, 0 deletions