summaryrefslogtreecommitdiff
path: root/drivers/block/nbd.c
AgeCommit message (Expand)AuthorFilesLines
2022-05-27nbd: use pr_err to output error messageYu Kuai1-22/+18
2022-05-27nbd: fix possible overflow on 'first_minor' in nbd_dev_add()Zhang Wensheng1-11/+12
2022-05-27nbd: fix io hung while disconnecting deviceYu Kuai1-1/+1
2022-05-27nbd: don't clear 'NBD_CMD_INFLIGHT' flag if request is not completedYu Kuai1-4/+14
2022-05-27nbd: fix race between nbd_alloc_config() and module removalYu Kuai1-9/+19
2022-05-27nbd: call genl_unregister_family() first in nbd_cleanup()Yu Kuai1-1/+6
2022-05-16nbd: Fix hung on disconnect request if socket is closed beforeXie Yongji1-4/+9
2022-05-03nbd: don't set the discard_alignment queue limitChristoph Hellwig1-3/+0
2022-04-18block: add a disk_openers helperChristoph Hellwig1-2/+2
2022-04-18nbd: use the correct block_device in nbd_bdev_resetChristoph Hellwig1-7/+7
2022-04-17block: remove QUEUE_FLAG_DISCARDChristoph Hellwig1-4/+1
2022-04-02Revert "nbd: fix possible overflow on 'first_minor' in nbd_dev_add()"Jens Axboe1-12/+12
2022-03-31nbd: fix possible overflow on 'first_minor' in nbd_dev_add()Zhang Wensheng1-12/+12
2021-11-09Merge tag 'for-5.16/drivers-2021-11-09' of git://git.kernel.dk/linux-blockLinus Torvalds1-23/+21
2021-11-02nbd: error out if socket index doesn't match in nbd_handle_reply()Yu Kuai1-0/+2
2021-11-02nbd: Fix hungtask when nbd_config_putYe Bin1-20/+16
2021-11-02nbd: Fix incorrect error handle when first_minor is illegal in nbd_dev_addYe Bin1-1/+1
2021-11-02nbd: fix possible overflow for 'first_minor' in nbd_dev_add()Yu Kuai1-3/+3
2021-11-02nbd: fix max value for 'first_minor'Yu Kuai1-3/+3
2021-11-01Merge tag 'for-5.16/drivers-2021-10-29' of git://git.kernel.dk/linux-blockLinus Torvalds1-49/+112
2021-10-27nbd: Use blk_validate_block_size() to validate block sizeXie Yongji1-1/+2
2021-10-21nbd: Use invalidate_disk() helper on disconnectXie Yongji1-9/+3
2021-10-20nbd: Fix use-after-free in pid_showYe Bin1-9/+9
2021-10-18nbd: fix uaf in nbd_handle_reply()Yu Kuai1-1/+17
2021-10-18nbd: partition nbd_read_stat() into nbd_read_reply() and nbd_handle_reply()Yu Kuai1-30/+44
2021-10-18nbd: clean up return value checking of sock_xmit()Yu Kuai1-6/+7
2021-10-18nbd: don't start request if nbd_queue_rq() failedYu Kuai1-3/+0
2021-10-18nbd: check sock index in nbd_read_stat()Yu Kuai1-0/+4
2021-10-18nbd: make sure request completion won't concurrentYu Kuai1-2/+9
2021-10-18nbd: don't handle response without a corresponding request messageYu Kuai1-1/+21
2021-10-18nbd: add error handling support for add_disk()Luis Chamberlain1-1/+5
2021-09-29nbd: use shifts rather than multipliesNick Desaulniers1-12/+17
2021-08-30Merge tag 'for-5.15/drivers-2021-08-30' of git://git.kernel.dk/linux-blockLinus Torvalds1-79/+99
2021-08-25nbd: remove nbd->destroy_completeChristoph Hellwig1-38/+14
2021-08-25nbd: only return usable devices from nbd_find_unusedChristoph Hellwig1-7/+9
2021-08-25nbd: set nbd->index before releasing nbd_index_mutexTetsuo Handa1-1/+1
2021-08-25nbd: prevent IDR lookups from finding partially initialized devicesTetsuo Handa1-1/+10
2021-08-25nbd: reset NBD to NULL when restarting in nbd_genl_connectChristoph Hellwig1-14/+18
2021-08-25nbd: add missing locking to the nbd_dev_add error pathTetsuo Handa1-0/+2
2021-08-16block: nbd: add sanity check for first_minorPavel Skripkin1-0/+10
2021-08-13nbd: reduce the nbd_index_mutex scopeChristoph Hellwig1-27/+28
2021-08-13nbd: refactor device search and allocation in nbd_genl_connectChristoph Hellwig1-31/+14
2021-08-13nbd: return the allocated nbd_device from nbd_dev_addChristoph Hellwig1-12/+9
2021-08-13nbd: remove nbd_del_diskChristoph Hellwig1-12/+5
2021-08-13nbd: refactor device removalChristoph Hellwig1-24/+13
2021-08-13nbd: do del_gendisk() asynchronously for NBD_DESTROY_ON_DISCONNECTHou Tao1-9/+61
2021-08-13nbd: add the check to prevent overflow in __nbd_ioctl()Baokun Li1-2/+4
2021-08-13nbd: Aovid double completion of a requestXie Yongji1-3/+11
2021-07-15nbd: fix order of cleaning up the queue and freeing the tagsetWang Qing1-1/+1
2021-06-30nbd: provide a way for userspace processes to identify device backendsPrasanna Kumar Kalever1-1/+59