drbd: Avoid inconsistent locking warning
authorAndreas Gruenbacher <agruen@linbit.com>
Thu, 11 Sep 2014 12:29:08 +0000 (14:29 +0200)
committerJens Axboe <axboe@fb.com>
Thu, 11 Sep 2014 14:41:29 +0000 (08:41 -0600)
commit8d4ba3f0fa53044b8b597caaa7d8e291e6e84642
tree5b06e3c9506d9a1a6ec61fc0391010c050502a1d
parentf0c21e622869b101da098db57d61aba737621402
drbd: Avoid inconsistent locking warning

request_timer_fn() takes resource->req_lock via the device and releases it via
the connection.  Avoid this as it is confusing static code checkers.

Reported-by: "Dan Carpenter" <dan.carpenter@oracle.com>
Signed-off-by: Andreas Gruenbacher <agruen@linbit.com>
Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com>
Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
drivers/block/drbd/drbd_req.c