diff options
author | Roland Kammerer <roland.kammerer@linbit.com> | 2017-08-29 10:20:47 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2017-08-29 15:34:46 -0600 |
commit | d3d2948f4353300e483e03be3f400dc07cf504ce (patch) | |
tree | fb3af994750712c1cc04156cfeba8f3f9385f441 /include/linux/drbd.h | |
parent | 183ece30053f1597120ee30174955d7a971bc146 (diff) | |
download | linux-d3d2948f4353300e483e03be3f400dc07cf504ce.tar.gz linux-d3d2948f4353300e483e03be3f400dc07cf504ce.tar.xz |
drbd: abort drbd_start_resync if there is no connection
This was found by a static analysis tool. While highly unlikely, be sure
to return without dereferencing the NULL pointer.
Reported-by: Shaobo <shaobo@cs.utah.edu>
Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com>
Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'include/linux/drbd.h')
0 files changed, 0 insertions, 0 deletions