diff options
author | Christoph Hellwig <hch@lst.de> | 2015-04-17 23:37:16 +0300 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2015-05-05 22:40:03 +0300 |
commit | 4f8c9510ba71bb54477841bebb90154ef140860f (patch) | |
tree | cd9b4ceba775435e30998a9e737d2270d7f5c82d /drivers/block/nbd.c | |
parent | dac56212e8127dbc0bff7be35c508bc280213309 (diff) | |
download | linux-4f8c9510ba71bb54477841bebb90154ef140860f.tar.xz |
block: rename REQ_TYPE_SPECIAL to REQ_TYPE_DRV_PRIV
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'drivers/block/nbd.c')
-rw-r--r-- | drivers/block/nbd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/block/nbd.c b/drivers/block/nbd.c index 39e5f7fae3ef..9cf52ac328fe 100644 --- a/drivers/block/nbd.c +++ b/drivers/block/nbd.c @@ -592,7 +592,7 @@ static int __nbd_ioctl(struct block_device *bdev, struct nbd_device *nbd, fsync_bdev(bdev); mutex_lock(&nbd->tx_lock); blk_rq_init(NULL, &sreq); - sreq.cmd_type = REQ_TYPE_SPECIAL; + sreq.cmd_type = REQ_TYPE_DRV_PRIV; nbd_cmd(&sreq) = NBD_CMD_DISC; /* Check again after getting mutex back. */ |