diff options
| author | Josh Durgin <[email protected]> | 2013-08-28 17:08:10 -0700 |
|---|---|---|
| committer | Sage Weil <[email protected]> | 2013-09-03 22:08:51 -0700 |
| commit | c35455791c1131e7ccbf56ea6fbdd562401c2ce2 (patch) | |
| tree | 913c5f5590faa818502c266a033f218573e5cc21 /tools/perf/scripts/python/net_dropmonitor.py | |
| parent | 03507db631c94a48e316c7f638ffb2991544d617 (diff) | |
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 <[email protected]>
Reviewed-by: Sage Weil <[email protected]>
Reviewed-by: Alex Elder <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions