summaryrefslogtreecommitdiffstats
path: root/block/ioctl.c
Commit message (Expand)AuthorAgeFilesLines
* block: fix integer overflow in BLKSECDISCARDAlexey Dobriyan2024-09-041-4/+5
* blk-lib: check for kill signal in ioctl BLKZEROOUTChristoph Hellwig2024-07-051-1/+1
* Merge tag 'pull-bd_flags-2' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds2024-05-211-1/+4
|\
| * bdev: move ->bd_read_only to ->__bd_flagsAl Viro2024-05-021-1/+4
* | Merge tag 'pull-bd_inode-1' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds2024-05-211-8/+6
|\ \
| * | blk_ioctl_{discard,zeroout}(): we only want ->bd_inode->i_mapping here...Al Viro2024-05-031-6/+4
| * | use ->bd_mapping instead of ->bd_inode->i_mappingAl Viro2024-05-031-2/+2
* | | Merge tag 'pull-set_blocksize' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds2024-05-211-9/+12
|\| |
| * | set_blocksize(): switch to passing struct file *Al Viro2024-05-021-9/+12
* | | Merge tag 'for-6.10/block-20240511' of git://git.kernel.dk/linuxLinus Torvalds2024-05-131-6/+36
|\ \ \
| * | | blk-lib: check for kill signal in ioctl BLKDISCARDChristoph Hellwig2024-05-071-3/+30
| * | | block: move discard checks into the ioctl handlerChristoph Hellwig2024-05-071-2/+5
| * | | block/ioctl: prefer different overflow checkJustin Stitt2024-05-071-1/+1
| | |/ | |/|
* | | block: propagate partition scanning errors to the BLKRRPART ioctlChristoph Hellwig2024-04-181-1/+2
| |/ |/|
* | block: fix overflow in blk_ioctl_discard()Li Nan2024-04-021-2/+3
|/
* Merge tag 'for-6.9/block-20240310' of git://git.kernel.dk/linuxLinus Torvalds2024-03-111-1/+8
|\
| * block: move capacity validation to blkpg_do_ioctl()Li Lingfeng2024-03-061-1/+8
* | Merge tag 'vfs-6.9.super' of git://git.kernel.org/pub/scm/linux/kernel/git/vf...Linus Torvalds2024-03-111-5/+4
|\ \ | |/ |/|
| * block/ioctl: port blkdev_bszset() to fileChristian Brauner2024-02-251-5/+4
* | block: Move checking GENHD_FL_NO_PART to bdev_add_partition()Li Lingfeng2024-01-221-2/+0
|/
* block: add check that partition length needs to be aligned with block sizeMin Li2023-12-131-4/+7
* 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