summaryrefslogtreecommitdiffstats
path: root/drivers/block/nbd.c
Commit message (Expand)AuthorAgeFilesLines
* nbd: use pr_err to output error messageYu Kuai2022-05-271-22/+18
* nbd: fix possible overflow on 'first_minor' in nbd_dev_add()Zhang Wensheng2022-05-271-11/+12
* nbd: fix io hung while disconnecting deviceYu Kuai2022-05-271-1/+1
* nbd: don't clear 'NBD_CMD_INFLIGHT' flag if request is not completedYu Kuai2022-05-271-4/+14
* nbd: fix race between nbd_alloc_config() and module removalYu Kuai2022-05-271-9/+19
* nbd: call genl_unregister_family() first in nbd_cleanup()Yu Kuai2022-05-271-1/+6
* nbd: Fix hung on disconnect request if socket is closed beforeXie Yongji2022-05-161-4/+9
* nbd: don't set the discard_alignment queue limitChristoph Hellwig2022-05-031-3/+0
* block: add a disk_openers helperChristoph Hellwig2022-04-181-2/+2
* nbd: use the correct block_device in nbd_bdev_resetChristoph Hellwig2022-04-181-7/+7
* block: remove QUEUE_FLAG_DISCARDChristoph Hellwig2022-04-171-4/+1
* Revert "nbd: fix possible overflow on 'first_minor' in nbd_dev_add()"Jens Axboe2022-04-021-12/+12
* nbd: fix possible overflow on 'first_minor' in nbd_dev_add()Zhang Wensheng2022-03-311-12/+12
* Merge tag 'for-5.16/drivers-2021-11-09' of git://git.kernel.dk/linux-blockLinus Torvalds2021-11-091-23/+21
|\
| * nbd: error out if socket index doesn't match in nbd_handle_reply()Yu Kuai2021-11-021-0/+2
| * nbd: Fix hungtask when nbd_config_putYe Bin2021-11-021-20/+16
| * nbd: Fix incorrect error handle when first_minor is illegal in nbd_dev_addYe Bin2021-11-021-1/+1
| * nbd: fix possible overflow for 'first_minor' in nbd_dev_add()Yu Kuai2021-11-021-3/+3
| * nbd: fix max value for 'first_minor'Yu Kuai2021-11-021-3/+3
* | Merge tag 'for-5.16/drivers-2021-10-29' of git://git.kernel.dk/linux-blockLinus Torvalds2021-11-011-49/+112
|\|
| * nbd: Fix use-after-free in pid_showYe Bin2021-10-201-9/+9
| * nbd: fix uaf in nbd_handle_reply()Yu Kuai2021-10-181-1/+17
| * nbd: partition nbd_read_stat() into nbd_read_reply() and nbd_handle_reply()Yu Kuai2021-10-181-30/+44
| * nbd: clean up return value checking of sock_xmit()Yu Kuai2021-10-181-6/+7
| * nbd: don't start request if nbd_queue_rq() failedYu Kuai2021-10-181-3/+0
| * nbd: check sock index in nbd_read_stat()Yu Kuai2021-10-181-0/+4
| * nbd: make sure request completion won't concurrentYu Kuai2021-10-181-2/+9
| * nbd: don't handle response without a corresponding request messageYu Kuai2021-10-181-1/+21
| * nbd: add error handling support for add_disk()Luis Chamberlain2021-10-181-1/+5
* | nbd: Use blk_validate_block_size() to validate block sizeXie Yongji2021-10-271-1/+2
* | nbd: Use invalidate_disk() helper on disconnectXie Yongji2021-10-211-9/+3
|/
* nbd: use shifts rather than multipliesNick Desaulniers2021-09-291-12/+17
* Merge tag 'for-5.15/drivers-2021-08-30' of git://git.kernel.dk/linux-blockLinus Torvalds2021-08-301-79/+99
|\
| * nbd: remove nbd->destroy_completeChristoph Hellwig2021-08-251-38/+14
| * nbd: only return usable devices from nbd_find_unusedChristoph Hellwig2021-08-251-7/+9
| * nbd: set nbd->index before releasing nbd_index_mutexTetsuo Handa2021-08-251-1/+1
| * nbd: prevent IDR lookups from finding partially initialized devicesTetsuo Handa2021-08-251-1/+10
| * nbd: reset NBD to NULL when restarting in nbd_genl_connectChristoph Hellwig2021-08-251-14/+18
| * nbd: add missing locking to the nbd_dev_add error pathTetsuo Handa2021-08-251-0/+2
| * block: nbd: add sanity check for first_minorPavel Skripkin2021-08-161-0/+10
| * nbd: reduce the nbd_index_mutex scopeChristoph Hellwig2021-08-131-27/+28
| * nbd: refactor device search and allocation in nbd_genl_connectChristoph Hellwig2021-08-131-31/+14
| * nbd: return the allocated nbd_device from nbd_dev_addChristoph Hellwig2021-08-131-12/+9
| * nbd: remove nbd_del_diskChristoph Hellwig2021-08-131-12/+5
| * nbd: refactor device removalChristoph Hellwig2021-08-131-24/+13
| * nbd: do del_gendisk() asynchronously for NBD_DESTROY_ON_DISCONNECTHou Tao2021-08-131-9/+61
| * nbd: add the check to prevent overflow in __nbd_ioctl()Baokun Li2021-08-131-2/+4
* | nbd: Aovid double completion of a requestXie Yongji2021-08-131-3/+11
|/
* nbd: fix order of cleaning up the queue and freeing the tagsetWang Qing2021-07-151-1/+1
* nbd: provide a way for userspace processes to identify device backendsPrasanna Kumar Kalever2021-06-301-1/+59