linux-mainline/arch/um/drivers
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
..
chan_kern.c
chan_user.c
chan_user.h
chan.h
cow_sys.h
cow_user.c
cow.h
daemon_kern.c
daemon_user.c
daemon.h
fd.c
harddog_kern.c
harddog_user.c
hostaudio_kern.c
Kconfig um: Prevent building modules incompatible with MODVERSIONS 2023-02-13 10:14:16 +01:00
line.c
line.h
Makefile kbuild: remove --include-dir MAKEFLAG from top Makefile 2023-02-05 18:51:22 +09:00
mconsole_kern.c
mconsole_kern.h
mconsole_user.c
mconsole.h
mmapper_kern.c
net_kern.c
net_user.c
null.c
pcap_kern.c um: Avoid pcap multiple definition errors 2023-02-13 10:13:48 +01:00
pcap_user.c
pcap_user.h
port_kern.c
port_user.c
port.h
pty.c
random.c
rtc_kern.c
rtc_user.c
rtc.h
slip_common.c
slip_common.h
slip_kern.c
slip_user.c
slip.h
slirp_kern.c
slirp_user.c
slirp.h
ssl.c
stderr_console.c
stdio_console.c
stdio_console.h
tty.c
ubd_kern.c block: replace fmode_t with a block-specific type for block open flags 2023-06-12 08:04:05 -06:00
ubd_user.c
ubd.h
umcast_kern.c
umcast_user.c
umcast.h
vde_kern.c
vde_user.c
vde.h
vector_kern.c um: vector: Fix memory leak in vector_config 2023-02-01 22:11:27 +01:00
vector_kern.h
vector_transports.c
vector_user.c
vector_user.h uml: vector: Remove unused definitions VECTOR_{WRITE,HEADERS} 2023-02-13 10:14:32 +01:00
vhost_user.h
virt-pci.c um: virt-pci: properly remove PCI device from bus 2023-02-13 10:14:32 +01:00
virtio_uml.c um: virtio_uml: move device breaking into workqueue 2023-02-13 10:14:32 +01:00
xterm_kern.c
xterm.c
xterm.h