aboutsummaryrefslogtreecommitdiffstats
path: root/block/partitions
AgeCommit message (Expand)AuthorFilesLines
2024-05-03block: fix and simplify blkdevparts= cmdline parsingINAGAKI Hiroshi1-37/+12
2024-05-03block: add a disk_has_partscan helperChristoph Hellwig1-4/+1
2024-03-09block: partitions: only define function mac_fix_string for CONFIG_PPC_PMACColin Ian King1-0/+2
2024-03-06block: move capacity validation to blkpg_do_ioctl()Li Lingfeng1-11/+0
2024-01-22block: Move checking GENHD_FL_NO_PART to bdev_add_partition()Li Lingfeng1-0/+5
2024-01-12block: print symbolic error name instead of error codeChristian Heusel1-2/+2
2023-12-19block: remove support for the host aware zone modelChristoph Hellwig1-10/+2
2023-11-01Merge tag 'for-6.7/block-2023-10-30' of git://git.kernel.dk/linuxLinus Torvalds1-30/+68
2023-10-28block: WARN_ON_ONCE() when we remove active partitionsChristian Brauner1-13/+17
2023-10-28block: simplify bdev_del_partition()Christian Brauner1-1/+12
2023-10-04partitions/ibm: Introduce defines for magic string length valuesJan Höppner1-9/+13
2023-10-04partitions/ibm: Replace strncpy() and improve readabilityJan Höppner1-25/+61
2023-10-04partitions/ibm: Remove unnecessary memsetJan Höppner1-2/+0
2023-08-29Merge tag 'for-6.6/block-2023-08-28' of git://git.kernel.dk/linuxLinus Torvalds1-8/+4
2023-08-23Merge tag 'vfs-6.6-merge-2' of ssh://gitolite.kernel.org/pub/scm/fs/xfs/xfs-l...Christian Brauner1-1/+1
2023-08-22block: use strscpy() to instead of strncpy()Xu Panda1-8/+4
2023-08-21block: consolidate __invalidate_device and fsync_bdevChristoph Hellwig1-4/+1
2023-07-05block/partition: fix signedness issue for Amiga partitionsMichael Schmitz1-1/+1
2023-06-20block: add overflow checks for Amiga partition supportMichael Schmitz1-18/+85
2023-06-20block: fix signed int overflow in Amiga partition supportMichael Schmitz1-4/+5
2023-06-20block: add capacity validation in bdev_add_partition()Min Li1-0/+11
2023-06-05block: remove blk_drop_partitionsChristoph Hellwig1-12/+4
2023-06-05block: delete partitions later in del_gendiskChristoph Hellwig1-7/+12
2023-06-05block: unhash the inode earlier in delete_partitionChristoph Hellwig1-6/+6
2023-05-30block: constify the whole_disk device_attributeThomas Weißschuh1-1/+1
2023-05-30block: constify struct part_attr_groupThomas Weißschuh1-1/+1
2023-05-30block: constify struct part_type part_typeThomas Weißschuh1-1/+1
2023-05-30block: constify partition prober arrayThomas Weißschuh1-1/+1
2023-04-24block: Cleanup set_capacity()/bdev_set_nr_sectors()Damien Le Moal1-8/+0
2023-01-27driver core: make struct device_type.uevent() take a const *Greg Kroah-Hartman1-2/+2
2022-09-03block: don't add partitions if GD_SUPPRESS_PART_SCAN is setMing Lei1-0/+3
2022-08-03Merge tag 'folio-6.0' of git://git.infradead.org/users/willy/pagecacheLinus Torvalds2-15/+9
2022-08-02block: Convert read_part_sector() to use a folioMatthew Wilcox (Oracle)2-7/+7
2022-08-02block: Use PAGE_SECTORS_SHIFTMatthew Wilcox (Oracle)1-2/+1
2022-08-02block: Handle partition read errors more consistentlyMatthew Wilcox (Oracle)1-1/+1
2022-08-02block: Simplify read_part_sector()Matthew Wilcox (Oracle)1-2/+1
2022-07-06block: pass a gendisk to blk_queue_set_zonedChristoph Hellwig1-1/+1
2022-06-29block: Remove check of PageErrorMatthew Wilcox (Oracle)1-4/+0
2022-06-28block: simplify blktrace sysfs attribute creationChristoph Hellwig1-1/+0
2022-05-23Merge tag 'for-5.19/drivers-2022-05-22' of git://git.kernel.dk/linux-blockLinus Torvalds1-1/+1
2022-04-23block/partitions/ldm: Remove redundant assignmentsMichal Orzel1-12/+3
2022-04-23block/partitions/atari: Remove redundant assignmentMichal Orzel1-1/+0
2022-04-23block/partitions/acorn: Remove redundant assignmentsMichal Orzel1-2/+2
2022-04-18block: turn bdev->bd_openers into an atomic_tChristoph Hellwig1-1/+1
2022-04-17block: use bdev_discard_alignment in part_discard_alignment_showChristoph Hellwig1-5/+1
2022-04-17block: use bdev_alignment_offset in part_alignment_offset_showChristoph Hellwig1-5/+1
2022-02-02block: remove genhd.hChristoph Hellwig4-4/+0
2021-11-29block: remove GENHD_FL_EXT_DEVTChristoph Hellwig1-5/+4
2021-11-29block: move GENHD_FL_NATIVE_CAPACITY to disk->stateChristoph Hellwig1-9/+6
2021-11-01Merge tag 'for-5.16/bdev-size-2021-10-29' of git://git.kernel.dk/linux-blockLinus Torvalds3-10/+12
2021-11-01Merge tag 'for-5.16/block-2021-10-29' of git://git.kernel.dk/linux-blockLinus Torvalds2-2/+7
2021-10-19partitions/ibm: use bdev_nr_sectors instead of open coding itChristoph Hellwig1-9/+10
2021-10-19partitions/efi: use bdev_nr_bytes instead of open coding itChristoph Hellwig1-1/+1
2021-10-18block: cache inode size in bdevJens Axboe1-0/+1
2021-10-18block: fix incorrect references to disk objectsZqiang1-0/+1
2021-10-18block: convert the rest of block to bdev_get_queuePavel Begunkov1-2/+2
2021-10-18block: move menu "Partition type" to block/partitions/KconfigMasahiro Yamada1-0/+4
2021-10-18block: drop unused includes in <linux/genhd.h>Christoph Hellwig1-0/+1
2021-08-30Merge tag 'for-5.15/block-2021-08-30' of git://git.kernel.dk/linux-blockLinus Torvalds15-113/+359
2021-08-24partitions/efi: Support non-standard GPT locationDmitry Osipenko1-0/+12
2021-08-16block: free the extended dev_t minor laterChristoph Hellwig1-2/+0
2021-08-12block: pass a gendisk to bdev_resize_partitionChristoph Hellwig1-6/+6
2021-08-12block: pass a gendisk to bdev_del_partitionChristoph Hellwig1-4/+4
2021-08-12block: pass a gendisk to bdev_add_partitionChristoph Hellwig1-3/+2
2021-08-12block: store a gendisk in struct parsed_partitionsChristoph Hellwig14-73/+52
2021-08-12block: remove GENHD_FL_UPChristoph Hellwig1-2/+2
2021-08-07Merge tag 'block-5.14-2021-08-07' of git://git.kernel.dk/linux-blockLinus Torvalds1-1/+1
2021-08-05block/partitions/ldm.c: Fix a kernel-doc warningBart Van Assche1-1/+1
2021-08-02block: remove cmdline-parser.cChristoph Hellwig2-6/+262
2021-08-02block: simplify disk name formatting in check_partitionChristoph Hellwig1-1/+1
2021-08-02block: remove bdputChristoph Hellwig1-1/+1
2021-08-02block: change the refcounting for partitionsChristoph Hellwig1-1/+8
2021-08-02block: allocate bd_meta_info later in add_partitionsChristoph Hellwig1-10/+7
2021-08-02block: assert the locking state in delete_partitionChristoph Hellwig1-4/+2
2021-07-09Merge tag 'block-5.14-2021-07-08' of git://git.kernel.dk/linux-blockLinus Torvalds1-12/+17
2021-07-02Merge tag 'asm-generic-unaligned-5.14' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds3-17/+12
2021-07-01block: remove the bdgrab in blk_drop_partitionsChristoph Hellwig1-5/+1
2021-06-30block: check disk exist before trying to add partitionYufen Yu1-7/+16
2021-06-24block: pass a gendisk to bdev_disk_changedChristoph Hellwig1-12/+10
2021-06-24block: move bdev_disk_changedChristoph Hellwig1-1/+54
2021-06-21block/partitions/msdos: Fix typo inidicator -> indicatorThomas Bracht Laumann Jespersen1-1/+1
2021-06-01block: remove bdget_diskChristoph Hellwig1-13/+12
2021-06-01block: move bd_mutex to struct gendiskChristoph Hellwig1-14/+10
2021-06-01block: automatically enable GENHD_FL_EXT_DEVTChristoph Hellwig1-4/+0
2021-06-01block: refactor device number setup in __device_add_diskChristoph Hellwig1-4/+11
2021-05-17partitions: msdos: fix one-byte get_unaligned()Arnd Bergmann3-17/+12
2021-05-14block/partitions/efi.c: Fix the efi_partition() kernel-doc headerBart Van Assche1-1/+1
2021-04-28Merge tag 'for-5.13/block-2021-04-27' of git://git.kernel.dk/linux-blockLinus Torvalds1-31/+23
2021-04-08block: simplify partition_overlapsChristoph Hellwig1-10/+10
2021-04-08block: simplify partition removalChristoph Hellwig1-4/+6
2021-04-08block: take bd_mutex around delete_partitions in del_gendiskChristoph Hellwig1-0/+2
2021-04-08block: refactor blk_drop_partitionsChristoph Hellwig1-11/+3
2021-04-08block: move more syncing and invalidation to delete_partitionChristoph Hellwig1-3/+3
2021-04-08dasd: use bdev_disk_changed instead of blk_drop_partitionsChristoph Hellwig1-4/+0
2021-03-27block: don't create too many partitionsMing Lei1-0/+7
2021-02-28block: revert "block: fix bd_size_lock use"Damien Le Moal1-4/+2
2021-02-21Merge tag 'for-5.12/block-2021-02-17' of git://git.kernel.dk/linux-blockLinus Torvalds1-28/+8
2021-02-10block: use blk_queue_set_zoned in add_partition()Damien Le Moal1-1/+1
2021-01-28block: fix bd_size_lock useDamien Le Moal1-2/+4
2021-01-24block: Fix an error handling in add_partitionDinghao Liu1-1/+1
2021-01-24block: use an xarray for disk->part_tblChristoph Hellwig1-25/+6
2021-01-24block: add a hard-readonly flag to struct gendiskChristoph Hellwig1-2/+1
2020-12-22block: update some copyrightsChristoph Hellwig1-0/+1
2020-12-01block: merge struct block_device and struct hd_structChristoph Hellwig1-72/+44
2020-12-01block: switch disk_part_iter_* to use a struct block_deviceChristoph Hellwig1-7/+6
2020-12-01block: pass a block_device to blk_alloc_devtChristoph Hellwig1-1/+1
2020-12-01block: remove the partno field from struct hd_structChristoph Hellwig1-5/+4
2020-12-01block: switch partition lookup to use struct block_deviceChristoph Hellwig1-5/+2
2020-12-01block: allocate struct hd_struct as part of struct bdev_inodeChristoph Hellwig1-61/+6
2020-12-01block: move the policy field to struct block_deviceChristoph Hellwig1-2/+2
2020-12-01block: move holder_dir to struct block_deviceChristoph Hellwig1-4/+4
2020-12-01block: move the partition_meta_info to struct block_deviceChristoph Hellwig1-11/+7
2020-12-01block: move the start_sect field to struct block_deviceChristoph Hellwig1-8/+9
2020-12-01block: move disk stat accounting to struct block_deviceChristoph Hellwig1-8/+1
2020-12-01block: remove the nr_sects field in struct hd_structChristoph Hellwig1-6/+11
2020-12-01block: simplify bdev/disk lookup in blkdev_getChristoph Hellwig1-12/+17
2020-10-13Merge tag 'block-5.10-2020-10-12' of git://git.kernel.dk/linux-blockLinus Torvalds1-13/+16
2020-10-07partitions/ibm: fix non-DASD devicesChristoph Hellwig1-4/+3
2020-10-05block: add a bdget_part helperChristoph Hellwig1-1/+1
2020-09-08block: restore a specific error code in bdev_del_partitionChristoph Hellwig1-1/+1
2020-09-01block: remove the disk argument to delete_partitionChristoph Hellwig1-4/+5
2020-09-01block: remove the discard_alignment field from struct hd_structChristoph Hellwig1-3/+4
2020-09-01block: remove the alignment_offset field from struct hd_structChristoph Hellwig1-3/+4
2020-09-01block: fix locking for struct block_device size updatesChristoph Hellwig1-2/+2
2020-09-01block: fix locking in bdev_del_partitionChristoph Hellwig1-14/+13
2020-09-01block: release disk reference in hd_struct_free_workMing Lei1-1/+9
2020-07-15block: always remove partitions from blk_drop_partitions()Ming Lei1-2/+0
2020-06-19Merge tag 'block-5.8-2020-06-19' of git://git.kernel.dk/linux-blockLinus Torvalds1-1/+1
2020-06-18partitions/ldm: Replace uuid_copy() with import_uuid() where it makes senseAndy Shevchenko1-1/+1
2020-06-15block: Replace zero-length array with flexible-arrayGustavo A. R. Silva1-1/+1
2020-06-14treewide: replace '---help---' in Kconfig files with 'help'Masahiro Yamada1-3/+3
2020-06-02Merge tag 'for-5.8/drivers-2020-06-01' of git://git.kernel.dk/linux-blockLinus Torvalds1-6/+18
2020-05-27block: always use a percpu variable for disk statsChristoph Hellwig1-2/+3
2020-05-21s390/dasd: remove ioctl_by_bdev callsStefan Haberland1-6/+18
2020-05-12block: only define 'nr_sects_seq' in hd_part for 32bit SMPMing Lei1-1/+1
2020-05-12block: fix use-after-free on cached last_lookup partitionMing Lei1-1/+11
2020-05-09Merge branch 'block-5.7' into for-5.8/blockJens Axboe1-1/+1
2020-04-30block: remove the bd_openers checks in blk_drop_partitionsChristoph Hellwig1-1/+1
2020-04-20block: simplify block device syncing in bdev_del_partitionChristoph Hellwig1-1/+1
2020-04-20block: don't call invalidate_partition from blk_drop_partitionsChristoph Hellwig1-4/+3
2020-04-20dasd: use blk_drop_partitions instead of badly reimplementing itChristoph Hellwig1-0/+4
2020-04-20block: remove the disk argument from blk_drop_partitionsChristoph Hellwig1-5/+5
2020-04-20block: remove hd_struct_killChristoph Hellwig1-1/+1
2020-04-20block: cleanup hd_struct freeingChristoph Hellwig1-5/+13
2020-04-20block: pass a hd_struct to delete_partitionChristoph Hellwig1-14/+8
2020-04-20block: refactor blkpg_ioctlChristoph Hellwig1-1/+114
2020-04-10block: fix busy device checking in blk_drop_partitions againChristoph Hellwig1-1/+1
2020-04-07block: fix busy device checking in blk_drop_partitionsChristoph Hellwig1-1/+1
2020-03-30Merge branch 'efi-core-for-linus' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds2-10/+27
2020-03-25block: move block layer internals out of include/linux/genhd.hChristoph Hellwig2-1/+1
2020-03-24block: merge partition-generic.c and check.cChristoph Hellwig4-186/+660
2020-03-24block: move the various x86 Unix label formats out of genhd.hChristoph Hellwig1-0/+125
2020-03-24partitions/msdos: remove LINUX_SWAP_PARTITIONChristoph Hellwig1-6/+12
2020-03-24block: move the *_PARTITION enum out of genhd.hChristoph Hellwig2-0/+9
2020-03-24block: move struct partition out of genhd.hChristoph Hellwig3-25/+17
2020-03-24block: remove block/partitions/sun.hChristoph Hellwig2-9/+3
2020-03-24block: remove block/partitions/sgi.hChristoph Hellwig2-9/+2
2020-03-24block: remove block/partitions/osf.hChristoph Hellwig2-8/+1
2020-03-24block: remove block/partitions/karma.hChristoph Hellwig2-7/+2
2020-03-24block: declare all partition detection routines in check.hChristoph Hellwig26-75/+22
2020-03-24block: remove warn_no_partChristoph Hellwig3-14/+6
2020-03-24block: unexport read_dev_sector and put_dev_sectorChristoph Hellwig1-7/+7
2020-03-08partitions/efi: Fix partition name parsing in GUID partition entryNikolai Merinov2-10/+27
2020-01-23partitions/ldm: fix spelling mistake "to" -> "too"Colin Ian King1-1/+1
2019-07-15docs: admin-guide: add a series of orphaned documentsMauro Carvalho Chehab1-1/+1
2019-07-15docs: block: convert to ReSTMauro Carvalho Chehab1-1/+1
2019-05-31block/partitions/ldm: Convert a kernel-doc header into a non-kernel-doc headerBart Van Assche1-1/+1
2019-04-30block: add SPDX tags to block layer files missing licensing informationChristoph Hellwig10-0/+10
2019-04-30block: switch all files cleared marked as GPLv2 or later to SPDX tagsChristoph Hellwig4-60/+4
2019-04-30block: switch all files cleared marked as GPLv2 to SPDX tagsChristoph Hellwig1-6/+1
2018-07-27partitions/aix: append null character to print data from diskMauricio Faria de Oliveira1-2/+6
2018-07-27partitions/aix: fix usage of uninitialized lv_info and lvname structuresMauricio Faria de Oliveira1-2/+3
2018-07-09partitions/ldm: remove redundant pointer dgrpColin Ian King1-3/+0
2018-06-12treewide: Use array_size() in vzalloc()Kees Cook1-1/+1
2018-06-12treewide: kmalloc() -> kmalloc_array()Kees Cook1-1/+1
2018-06-05block: add verifier for cmdline partitionWang YanQing1-0/+57
2018-01-10partitions/msdos: Unable to mount UFS 44bsd partitionsRichard Narron1-1/+3
2017-11-02License cleanup: add SPDX GPL-2.0 license identifier to files with no licenseGreg Kroah-Hartman21-0/+21
2017-06-05partitions/ldm: switch to use uuid_tChristoph Hellwig2-9/+7
2017-05-23partitions/msdos: FreeBSD UFS2 file systems are not recognizedRichard1-0/+2
2017-01-17partitions/efi: Fix integer overflow in GPT size calculationAlden Tondettar1-5/+12
2016-12-24Replace <asm/uaccess.h> with <linux/uaccess.h> globallyLinus Torvalds1-1/+1
2016-07-13block: atari: Return early for unsupported sector sizeGabriel Krisman Bertazi1-0/+7
2016-05-20block/partitions/ldm.c: use generic UUID libraryAndy Shevchenko1-56/+4
2016-04-18treewide: Fix typos in printkMasanari Iida1-2/+2
2015-11-20mac: validate mac_partition is within sectorKees Cook1-3/+7
2015-02-12Merge branch 'for-3.20/core' of git://git.kernel.dk/linux-blockLinus Torvalds1-6/+6
2015-01-22block: Remove annoying "unknown partition table" messageBoaz Harrosh1-6/+6
2015-01-07efi: Rename efi_guid_unparse to efi_guid_to_strBorislav Petkov1-1/+1
2014-09-27block: Replace strnicmp with strncasecmpRasmus Villemoes1-4/+4
2014-08-05partitions: aix.c: off by one bugDan Carpenter1-1/+1
2014-07-01block/partitions/efi.c: kerneldoc fixingFabian Frederick1-22/+24
2014-07-01block/partitions/msdos.c: code clean-upFabian Frederick1-5/+8
2014-07-01block/partitions/amiga.c: replace nolevel printk by pr_errFabian Frederick1-5/+7
2014-07-01block/partitions/aix.c: replace count*size kzalloc by kcallocFabian Frederick1-1/+1
2014-02-18block: Use macros from compiler.h instead of __attribute__((...))Gideon Israel Dsouza3-6/+10
2013-11-21block/partitions/efi.c: fix bound checkAntti P Miettinen1-2/+3
2013-10-16block/partitions/efi.c: treat size mismatch as a warning, not an errorDoug Anderson1-1/+6
2013-09-30block: change config option name for cmdline partition parsingPaul Gortmaker2-6/+6
2013-09-15partitions/efi: loosen check fot pmbr size in lbaDavidlohr Bueso1-2/+6