summaryrefslogtreecommitdiff
path: root/block/ioctl.c
AgeCommit message (Expand)AuthorFilesLines
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-17block: decouple REQ_OP_SECURE_ERASE from REQ_OP_DISCARDChristoph Hellwig1-8/+35
2022-04-17block: remove QUEUE_FLAG_DISCARDChristoph Hellwig1-2/+1
2022-04-17block: 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-23block: reopen the device in blkdev_reread_partChristoph Hellwig1-7/+14
2020-12-01block: move the policy field to struct block_deviceChristoph Hellwig1-1/+1
2020-12-01block: remove i_bdevChristoph Hellwig1-2/+1
2020-12-01block: 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
2020-11-16block: add a new set_read_only methodChristoph Hellwig1-0/+5
2020-11-16block: don't call into the driver for BLKFLSBUFChristoph Hellwig1-7/+0
2020-09-25block: add a bdev_is_partition helperChristoph Hellwig1-2/+2
2020-09-23block: cleanup blkdev_bszsetChristoph Hellwig1-7/+6
2020-09-07block: Do not discard buffers under a mounted filesystemJan Kara1-6/+10
2020-05-19block: Fix type of first compat_put_{,u}long() argumentBart Van Assche1-2/+2
2020-04-20block: refactor blkpg_ioctlChristoph Hellwig1-124/+26
2020-03-25block: move block layer internals out of include/linux/genhd.hChristoph Hellwig1-0/+1
2020-01-03compat_ioctl: simplify up block/ioctl.cArnd Bergmann1-152/+117
2020-01-03compat_ioctl: block: simplify compat_blkpg_ioctl()Arnd Bergmann1-36/+38
2020-01-03compat_ioctl: block: move blkdev_compat_ioctl() into ioctl.cArnd Bergmann1-0/+219
2020-01-03compat_ioctl: block: add blkdev_compat_ptr_ioctlArnd Bergmann1-0/+21