summaryrefslogtreecommitdiffstats
path: root/block/ioctl.c
Commit message (Expand)AuthorAgeFilesLines
* fs: Avoid grabbing sb->s_umount under bdev->bd_holder_lockJan Kara2023-10-281-2/+3
* block: Use bdev_open_by_dev() in disk_scan_partitions() and blkdev_bszset()Jan Kara2023-10-281-2/+4
* block: don't add or resize partition on the disk with GENHD_FL_NO_PARTLi Lingfeng2023-08-311-0/+2
* block: call into the file system for ioctl BLKFLSBUFChristoph Hellwig2023-08-211-1/+8
* block: fine-granular CAP_SYS_ADMIN for Persistent ReservationJingbo Xu2023-06-201-19/+22
* block: disallow Persistent Reservation on partitionsJingbo Xu2023-06-201-5/+17
* block: replace fmode_t with a block-specific type for block open flagsChristoph Hellwig2023-06-121-30/+12
* block: remove unused fmode_t arguments from ioctl handlersChristoph Hellwig2023-06-121-7/+7
* block: use the holder as indication for exclusive opensChristoph Hellwig2023-06-121-3/+2
* block: introduce holder opsChristoph Hellwig2023-06-051-1/+2
* block: fix scan partition for exclusively open device againYu Kuai2023-02-171-1/+1
* block: Revert "block: Do not reread partition table on exclusively open device"Yu Kuai2023-02-171-7/+6
* block: Do not reread partition table on exclusively open deviceJan Kara2022-12-011-5/+7
* block: replace blkdev_nr_zones with bdev_nr_zonesChristoph Hellwig2022-07-061-1/+1
* block: decouple REQ_OP_SECURE_ERASE from REQ_OP_DISCARDChristoph Hellwig2022-04-171-8/+35
* block: remove QUEUE_FLAG_DISCARDChristoph Hellwig2022-04-171-2/+1
* block: add a bdev_nonrot helperChristoph Hellwig2022-04-171-1/+1
* block/compat_ioctl: fix range check in BLKGETSIZEKhazhismel Kumykov2022-04-151-1/+1
* block: merge disk_scan_partitions and blkdev_reread_partChristoph Hellwig2021-11-291-26/+5
* block: Hold invalidate_lock in BLKZEROOUT ioctlShin'ichiro Kawasaki2021-11-091-3/+9
* block: Hold invalidate_lock in BLKDISCARD ioctlShin'ichiro Kawasaki2021-11-091-3/+9
* block/ioctl: use bdev_nr_sectors and bdev_nr_bytesChristoph Hellwig2021-10-191-12/+8
* block: merge block_ioctl into blkdev_ioctlChristoph Hellwig2021-10-181-4/+14
* block: unexport blkdev_ioctlChristoph Hellwig2021-10-181-1/+0
* block: pass a gendisk to bdev_resize_partitionChristoph Hellwig2021-08-121-1/+1
* block: pass a gendisk to bdev_del_partitionChristoph Hellwig2021-08-121-1/+1
* block: pass a gendisk to bdev_add_partitionChristoph Hellwig2021-08-121-1/+2
* block: remove the bd_bdi in struct block_deviceChristoph Hellwig2021-08-091-3/+4
* block: add ioctl to read the disk sequence numberMatteo Croce2021-08-021-0/+2
* block: move bd_part_count to struct gendiskChristoph Hellwig2021-06-011-1/+1
* block: return -EBUSY when there are open partitions in blkdev_reread_partChristoph Hellwig2021-04-211-0/+2
* block: reopen the device in blkdev_reread_partChristoph Hellwig2021-02-231-7/+14
* block: move the policy field to struct block_deviceChristoph Hellwig2020-12-011-1/+1
* block: remove i_bdevChristoph Hellwig2020-12-011-2/+1
* block: remove a superflous check in blkpg_do_ioctlChristoph Hellwig2020-12-011-9/+0
* block: remove __blkdev_driver_ioctlChristoph Hellwig2020-11-161-20/+5
* block: remove set_device_roChristoph Hellwig2020-11-161-1/+1
* block: don't call into the driver for BLKROSETChristoph Hellwig2020-11-161-23/+0
* block: add a new set_read_only methodChristoph Hellwig2020-11-161-0/+5
* block: don't call into the driver for BLKFLSBUFChristoph Hellwig2020-11-161-7/+0
* block: add a bdev_is_partition helperChristoph Hellwig2020-09-251-2/+2
* block: cleanup blkdev_bszsetChristoph Hellwig2020-09-231-7/+6
* block: Do not discard buffers under a mounted filesystemJan Kara2020-09-071-6/+10
* block: Fix type of first compat_put_{,u}long() argumentBart Van Assche2020-05-191-2/+2
* block: refactor blkpg_ioctlChristoph Hellwig2020-04-201-124/+26
* block: move block layer internals out of include/linux/genhd.hChristoph Hellwig2020-03-251-0/+1
* compat_ioctl: simplify up block/ioctl.cArnd Bergmann2020-01-031-152/+117
* compat_ioctl: block: simplify compat_blkpg_ioctl()Arnd Bergmann2020-01-031-36/+38
* compat_ioctl: block: move blkdev_compat_ioctl() into ioctl.cArnd Bergmann2020-01-031-0/+219
* compat_ioctl: block: add blkdev_compat_ptr_ioctlArnd Bergmann2020-01-031-0/+21