Skip to content

block: also call ->open for incremental partition opens

Christoph Hellwig dm-devel linux-bcache linux-block linux-btrfs linux-f2fs-devel linux-fsdevel linux-mtd linux-nilfs linux-nvme linux-pm linux-scsi linux-um 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest31 patches 90 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/31block: also call ->open for incremental partition opensblock/bdev.c+8 -103 replies
2/31cdrom: remove the unused bdev argument to cdrom_opendrivers/cdrom/cdrom.c drivers/cdrom/gdrom.c drivers/scsi/sr.c +1 more+4 -63 replies
3/31cdrom: remove the unused mode argument to cdrom_ioctldrivers/cdrom/cdrom.c drivers/cdrom/gdrom.c drivers/scsi/sr.c +1 more+5 -53 replies
4/31cdrom: remove the unused cdrom_close_write release codedrivers/cdrom/cdrom.c include/linux/cdrom.h+0 -163 replies
5/31cdrom: track if a cdrom_device_info was opened for datadrivers/cdrom/cdrom.c include/linux/cdrom.h+6 -74 replies
6/31cdrom: remove the unused mode argument to cdrom_releasedrivers/cdrom/cdrom.c drivers/cdrom/gdrom.c drivers/scsi/sr.c +1 more+4 -48 replies
7/31block: pass a gendisk on bdev_check_media_changeblock/disk-events.c drivers/block/amiflop.c drivers/block/ataflop.c +8 more+31 -322 replies
8/31block: share code between disk_check_media_change and disk_force_media_changeblock/disk-events.c+16 -214 replies
9/31block: pass a gendisk to ->openarch/um/drivers/ubd_kern.c arch/xtensa/platforms/iss/simdisk.c block/bdev.c +28 more+102 -1073 replies
10/31block: remove the unused mode argument to ->releasearch/um/drivers/ubd_kern.c arch/xtensa/platforms/iss/simdisk.c block/bdev.c +27 more+41 -433 replies
11/31block: rename blkdev_close to blkdev_releaseblock/fops.c+2 -22 replies
12/31swsusp: don't pass a stack address to blkdev_get_by_pathkernel/power/swap.c+3 -21 reply
13/31bcache: don't pass a stack address to blkdev_get_by_pathdrivers/md/bcache/super.c+1 -11 reply
14/31rnbd-srv: don't pass a holder for non-exclusive blkdev_get_by_pathdrivers/block/rnbd/rnbd-srv.c+1 -13 replies
15/31btrfs: don't pass a holder for non-exclusive blkdev_get_by_pathfs/btrfs/super.c fs/btrfs/volumes.c fs/btrfs/volumes.h+15 -213 replies
16/31block: use the holder as indication for exclusive opensblock/bdev.c block/fops.c block/genhd.c +34 more+183 -1924 replies
17/31block: add a sb_open_mode helperfs/btrfs/super.c fs/nilfs2/super.c fs/super.c +1 more+14 -202 replies
18/31fs: remove sb->s_modefs/f2fs/super.c fs/nilfs2/super.c fs/super.c +1 more+6 -82 replies
19/31scsi: replace the fmode_t argument to scsi_cmd_allowed with a simple booldrivers/scsi/scsi_bsg.c drivers/scsi/scsi_ioctl.c drivers/scsi/sg.c +1 more+7 -73 replies
20/31scsi: replace the fmode_t argument to scsi_ioctl with a simple booldrivers/scsi/ch.c drivers/scsi/scsi_ioctl.c drivers/scsi/sd.c +4 more+26 -243 replies
21/31scsi: replace the fmode_t argument to ->sg_io_fn with a simple boolblock/bsg-lib.c block/bsg.c drivers/scsi/scsi_bsg.c +1 more+9 -73 replies
22/31nvme: replace the fmode_t argument to the nvme ioctl handlers with a simple booldrivers/nvme/host/ioctl.c+34 -282 replies
23/31mtd: block: use a simple bool to track open for writedrivers/mtd/mtd_blkdevs.c drivers/mtd/mtdblock.c include/linux/mtd/blktrans.h+3 -33 replies
24/31rnbd-srv: replace sess->open_flags with a "bool readonly"drivers/block/rnbd/rnbd-srv-sysfs.c drivers/block/rnbd/rnbd-srv.c drivers/block/rnbd/rnbd-srv.h+9 -113 replies
25/31ubd: remove commented out code in ubd_openarch/um/drivers/ubd_kern.c+0 -73 replies
26/31block: move a few internal definitions out of blkdev.hblock/blk.h include/linux/blkdev.h+21 -292 replies
27/31block: remove unused fmode_t arguments from ioctl handlersblock/blk-zoned.c block/blk.h block/ioctl.c+12 -122 replies
28/31block: replace fmode_t with a block-specific type for block open flagsarch/um/drivers/ubd_kern.c arch/xtensa/platforms/iss/simdisk.c block/bdev.c +78 more+324 -3115 replies
29/31block: always use I_BDEV on file->f_mapping->host to find the bdevblock/fops.c+8 -102 replies
30/31block: store the holder in file->private_datablock/fops.c+8 -63 replies
31/31fs: remove the now unused FMODE_* flagsinclude/linux/fs.h+0 -72 replies

Reviews trailers per patch

All 31 patches have a Reviewed-by or Acked-by.

PatchRichard WeinbergerChristian BraunerJack WangHannes ReineckeDavid SterbaMartin K. PetersenPhillip Potter
1/31A-b R-b
2/31A-b R-b
3/31A-b R-b
4/31A-b R-b
5/31A-b
6/31A-b R-b R-b
7/31A-b R-b
8/31A-b R-b
9/31A-b A-b R-b
10/31A-b A-b R-b
11/31A-b R-b
12/31R-b
13/31R-b
14/31A-b A-b R-b
15/31A-b R-b A-b
16/31A-b A-b R-b A-b
17/31A-b R-b
18/31A-b R-b
19/31A-b R-b R-b
20/31A-b R-b R-b
21/31A-b R-b R-b
22/31A-b R-b
23/31A-b A-b R-b
24/31A-b A-b R-b
25/31A-b A-b R-b
26/31A-b R-b
27/31A-b R-b
28/31A-b
29/31A-b R-b
30/31A-b R-b
31/31R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 7 reviewers.

Read the v1 thread