summaryrefslogtreecommitdiff
path: root/block/ioctl.c
AgeCommit message (Expand)AuthorFilesLines
2024-05-13Merge tag 'for-6.10/block-20240511' of git://git.kernel.dk/linuxLinus Torvalds1-6/+36
2024-05-07blk-lib: check for kill signal in ioctl BLKDISCARDChristoph Hellwig1-3/+30
2024-05-07block: move discard checks into the ioctl handlerChristoph Hellwig1-2/+5
2024-05-07block/ioctl: prefer different overflow checkJustin Stitt1-1/+1
2024-04-18block: propagate partition scanning errors to the BLKRRPART ioctlChristoph Hellwig1-1/+2
2024-04-02block: fix overflow in blk_ioctl_discard()Li Nan1-2/+3
2024-03-11Merge tag 'for-6.9/block-20240310' of git://git.kernel.dk/linuxLinus Torvalds1-1/+8
2024-03-11Merge tag 'vfs-6.9.super' of git://git.kernel.org/pub/scm/linux/kernel/git/vf...Linus Torvalds1-5/+4
2024-03-06block: move capacity validation to blkpg_do_ioctl()Li Lingfeng1-1/+8
2024-02-25block/ioctl: port blkdev_bszset() to fileChristian Brauner1-5/+4
2024-01-22block: Move checking GENHD_FL_NO_PART to bdev_add_partition()Li Lingfeng1-2/+0
2023-12-13block: add check that partition length needs to be aligned with block sizeMin Li1-4/+7
2023-10-28fs: Avoid grabbing sb->s_umount under bdev->bd_holder_lockJan Kara1-2/+3
2023-10-28block: Use bdev_open_by_dev() in disk_scan_partitions() and blkdev_bszset()Jan Kara1-2/+4
2023-08-31block: don't add or resize partition on the disk with GENHD_FL_NO_PARTLi Lingfeng1-0/+2
2023-08-21block: call into the file system for ioctl BLKFLSBUFChristoph Hellwig1-1/+8
2023-06-20block: fine-granular CAP_SYS_ADMIN for Persistent ReservationJingbo Xu1-19/+22
2023-06-20block: disallow Persistent Reservation on partitionsJingbo Xu1-5/+17
2023-06-12block: replace fmode_t with a block-specific type for block open flagsChristoph Hellwig1-30/+12
2023-06-12block: remove unused fmode_t arguments from ioctl handlersChristoph Hellwig1-7/+7
2023-06-12block: use the holder as indication for exclusive opensChristoph Hellwig1-3/+2
2023-06-05block: introduce holder opsChristoph Hellwig1-1/+2
2023-02-17block: fix scan partition for exclusively open device againYu Kuai1-1/+1
2023-02-17block: Revert "block: Do not reread partition table on exclusively open device"Yu Kuai1-7/+6
2022-12-01block: Do not reread partition table on exclusively open deviceJan Kara1-5/+7
2022-07-06block: replace blkdev_nr_zones with bdev_nr_zonesChristoph Hellwig1-1/+1
2022-04-18block: decouple REQ_OP_SECURE_ERASE from REQ_OP_DISCARDChristoph Hellwig1-8/+35
2022-04-18block: remove QUEUE_FLAG_DISCARDChristoph Hellwig1-2/+1
2022-04-18block: add a bdev_nonrot helperChristoph Hellwig1-1/+1
2022-04-15block/compat_ioctl: fix range check in BLKGETSIZEKhazhismel Kumykov1-1/+1
2021-11-29block: merge disk_scan_partitions and blkdev_reread_partChristoph Hellwig1-26/+5
2021-11-09block: Hold invalidate_lock in BLKZEROOUT ioctlShin'ichiro Kawasaki1-3/+9
2021-11-09block: Hold invalidate_lock in BLKDISCARD ioctlShin'ichiro Kawasaki1-3/+9
2021-10-19block/ioctl: use bdev_nr_sectors and bdev_nr_bytesChristoph Hellwig1-12/+8
2021-10-18block: merge block_ioctl into blkdev_ioctlChristoph Hellwig1-4/+14
2021-10-18block: unexport blkdev_ioctlChristoph Hellwig1-1/+0
2021-08-12block: pass a gendisk to bdev_resize_partitionChristoph Hellwig1-1/+1
2021-08-12block: pass a gendisk to bdev_del_partitionChristoph Hellwig1-1/+1
2021-08-12block: pass a gendisk to bdev_add_partitionChristoph Hellwig1-1/+2
2021-08-09block: remove the bd_bdi in struct block_deviceChristoph Hellwig1-3/+4
2021-08-02block: add ioctl to read the disk sequence numberMatteo Croce1-0/+2
2021-06-01block: move bd_part_count to struct gendiskChristoph Hellwig1-1/+1
2021-04-21block: return -EBUSY when there are open partitions in blkdev_reread_partChristoph Hellwig1-0/+2
2021-02-24block: reopen the device in blkdev_reread_partChristoph Hellwig1-7/+14
2020-12-02block: move the policy field to struct block_deviceChristoph Hellwig1-1/+1
2020-12-02block: remove i_bdevChristoph Hellwig1-2/+1
2020-12-02block: remove a superflous check in blkpg_do_ioctlChristoph Hellwig1-9/+0
2020-11-16block: remove __blkdev_driver_ioctlChristoph Hellwig1-20/+5
2020-11-16block: remove set_device_roChristoph Hellwig1-1/+1
2020-11-16block: don't call into the driver for BLKROSETChristoph Hellwig1-23/+0