Message ID | 5B11116C.3080004@easystack.cn (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/drivers/block/rbd.c b/drivers/block/rbd.c index c450016..d1a1e78 100644 --- a/drivers/block/rbd.c +++ b/drivers/block/rbd.c @@ -3419,7 +3419,6 @@ static void cancel_tasks_sync(struct rbd_device *rbd_dev) static void rbd_unregister_watch(struct rbd_device *rbd_dev) { WARN_ON(waitqueue_active(&rbd_dev->lock_waitq)); - cancel_tasks_sync(rbd_dev); mutex_lock(&rbd_dev->watch_mutex);