linux-stable/drivers/s390
Christoph Hellwig 2736e8eeb0 block: use the holder as indication for exclusive opens
The current interface for exclusive opens is rather confusing as it
requires both the FMODE_EXCL flag and a holder.  Remove the need to pass
FMODE_EXCL and just key off the exclusive open off a non-NULL holder.

For blkdev_put this requires adding the holder argument, which provides
better debug checking that only the holder actually releases the hold,
but at the same time allows removing the now superfluous mode argument.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Acked-by: Christian Brauner <brauner@kernel.org>
Acked-by: David Sterba <dsterba@suse.com>		[btrfs]
Acked-by: Jack Wang <jinpu.wang@ionos.com>		[rnbd]
Link: https://lore.kernel.org/r/20230608110258.189493-16-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2023-06-12 08:04:04 -06:00
..
block block: use the holder as indication for exclusive opens 2023-06-12 08:04:04 -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