nbd: Remove fixme that was already fixed
authorMarkus Pargmann <mpa@pengutronix.de>
Thu, 2 Apr 2015 08:11:39 +0000 (10:11 +0200)
committerJens Axboe <axboe@fb.com>
Thu, 2 Apr 2015 18:39:24 +0000 (12:39 -0600)
The mentioned problem is not present anymore.

Signed-off-by: Markus Pargmann <mpa@pengutronix.de>
Signed-off-by: Jens Axboe <axboe@fb.com>
drivers/block/nbd.c

index 9e553a7534109c24b0998b9954dd99e9d6a29502..ef57e7d83aeda1d7ba69194c07c4fc63a78ea117 100644 (file)
@@ -110,14 +110,11 @@ static void nbd_end_request(struct nbd_device *nbd, struct request *req)
        spin_unlock_irqrestore(q->queue_lock, flags);
 }
 
+/*
+ * Forcibly shutdown the socket causing all listeners to error
+ */
 static void sock_shutdown(struct nbd_device *nbd, int lock)
 {
-       /* Forcibly shutdown the socket causing all listeners
-        * to error
-        *
-        * FIXME: This code is duplicated from sys_shutdown, but
-        * there should be a more generic interface rather than
-        * calling socket ops directly here */
        if (lock)
                mutex_lock(&nbd->tx_lock);
        if (nbd->sock) {