OpenCloudOS-Kernel/drivers/s390
Christoph Hellwig 05bdb99653 block: replace fmode_t with a block-specific type for block open flags
The only overlap between the block open flags mapped into the fmode_t and
other uses of fmode_t are FMODE_READ and FMODE_WRITE.  Define a new
blk_mode_t instead for use in blkdev_get_by_{dev,path}, ->open and
->ioctl and stop abusing fmode_t.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Acked-by: Jack Wang <jinpu.wang@ionos.com>		[rnbd]
Reviewed-by: Hannes Reinecke <hare@suse.de>
Reviewed-by: Christian Brauner <brauner@kernel.org>
Link: https://lore.kernel.org/r/20230608110258.189493-28-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2023-06-12 08:04:05 -06:00
..
block block: replace fmode_t with a block-specific type for block open flags 2023-06-12 08:04:05 -06:00
char s390 updates for the 6.4 merge window 2023-04-30 11:43:31 -07:00
cio s390/cio: replace zero-length array with flexible-array member 2023-04-13 17:36:29 +02:00
crypto s390 updates for the 6.4 merge window 2023-04-30 11:43:31 -07:00
net net/ism: Remove redundant pci_clear_master 2023-03-24 09:13:42 +00:00
scsi scsi: zfcp: Declare SCSI host template const 2023-03-24 19:19:20 -04:00
virtio virtio: add VIRTIO_F_NOTIFICATION_DATA feature support 2023-04-21 03:02:35 -04:00
Makefile