summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorJosh Durgin <josh.durgin@inktank.com>2013-08-29 00:08:10 (GMT)
committerSage Weil <sage@inktank.com>2013-09-04 05:08:51 (GMT)
commitc35455791c1131e7ccbf56ea6fbdd562401c2ce2 (patch)
tree913c5f5590faa818502c266a033f218573e5cc21 /net
parent03507db631c94a48e316c7f638ffb2991544d617 (diff)
downloadlinux-c35455791c1131e7ccbf56ea6fbdd562401c2ce2.tar.xz
rbd: fix null dereference in dout
The order parameter is sometimes NULL in _rbd_dev_v2_snap_size(), but the dout() always derefences it. Move this to another dout() protected by a check that order is non-NULL. Signed-off-by: Josh Durgin <josh.durgin@inktank.com> Reviewed-by: Sage Weil <sage@inktank.com> Reviewed-by: Alex Elder <alex.elder@linaro.org>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions