summaryrefslogtreecommitdiff
path: root/include/linux/drbd.h
diff options
context:
space:
mode:
authorRoland Kammerer <roland.kammerer@linbit.com>2017-08-29 10:20:47 +0200
committerJens Axboe <axboe@kernel.dk>2017-08-29 15:34:46 -0600
commitd3d2948f4353300e483e03be3f400dc07cf504ce (patch)
treefb3af994750712c1cc04156cfeba8f3f9385f441 /include/linux/drbd.h
parent183ece30053f1597120ee30174955d7a971bc146 (diff)
downloadlinux-next-d3d2948f4353300e483e03be3f400dc07cf504ce.tar.gz
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