linux-stable/arch/um/drivers
Christoph Hellwig fb5d1d389c ubd: open the backing files in ubd_add
Opening the backing device only when the block device is opened is
a bit weird as no one configures block devices to not use them.
Opend them at add time, close them at remove time and remove the
now superflous opened counter as remove can simply check for
disk_openers.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Richard Weinberger <richard@nod.at>
Link: https://lore.kernel.org/r/20240222072417.3773131-8-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2024-02-27 14:21:15 -07:00
..
Kconfig um: Fix hostaudio build errors 2023-08-19 23:30:22 +02:00
Makefile um: Fix hostaudio build errors 2023-08-19 23:30:22 +02:00
chan.h tty: um: convert to u8/__u8 and size_t 2023-12-08 12:02:38 +01:00
chan_kern.c tty: um: convert to u8/__u8 and size_t 2023-12-08 12:02:38 +01:00
chan_user.c TTY/Serial changes for 6.8-rc1 2024-01-18 11:37:24 -08:00
chan_user.h tty: um: convert to u8/__u8 and size_t 2023-12-08 12:02:38 +01:00
cow.h treewide: remove editor modelines and cruft 2021-05-07 00:26:34 -07:00
cow_sys.h
cow_user.c
daemon.h
daemon_kern.c um: daemon: Make default socket configurable 2022-05-27 09:00:40 +02:00
daemon_user.c um: Some fixes to build UML with musl 2020-10-11 23:13:06 +02:00
fd.c
harddog.h um: harddog: fix modular build 2023-05-10 00:21:30 +02:00
harddog_kern.c um: harddog: fix modular build 2023-05-10 00:21:30 +02:00
harddog_user.c um: harddog: fix modular build 2023-05-10 00:21:30 +02:00
harddog_user_exp.c um: harddog: fix modular build 2023-05-10 00:21:30 +02:00
hostaudio_kern.c uml: audio: fix -Wmissing-variable-declarations 2023-08-26 22:43:42 +02:00
line.c TTY/Serial changes for 6.8-rc1 2024-01-18 11:37:24 -08:00
line.h tty: um: convert to u8/__u8 and size_t 2023-12-08 12:02:38 +01:00
mconsole.h
mconsole_kern.c um: Refactor deprecated strncpy to memcpy 2023-08-26 22:48:38 +02:00
mconsole_kern.h
mconsole_user.c
mmapper_kern.c um: mmaper: add __exit annotations to module exit funcs 2022-09-19 23:01:50 +02:00
net_kern.c um: net: Fix return type of uml_net_start_xmit() 2024-01-05 00:23:14 +01:00
net_user.c
null.c tty: um: convert to u8/__u8 and size_t 2023-12-08 12:02:38 +01:00
pcap_kern.c um: Avoid pcap multiple definition errors 2023-02-13 10:13:48 +01:00
pcap_user.c um: Some fixes to build UML with musl 2020-10-11 23:13:06 +02:00
pcap_user.h
port.h
port_kern.c um: port_kern: fix -Wmissing-variable-declarations 2023-08-26 22:44:37 +02:00
port_user.c um: port_user: Improve error handling when port-helper is not found 2022-03-11 10:55:55 +01:00
pty.c
random.c hwrng: core - treat default_quality as a maximum and default to 1024 2022-11-18 16:59:34 +08:00
rtc.h um: add a pseudo RTC 2021-02-12 21:38:52 +01:00
rtc_kern.c um: add a pseudo RTC 2021-02-12 21:38:52 +01:00
rtc_user.c isystem: trim/fixup stdarg.h and other headers 2021-08-19 09:02:55 +09:00
slip.h
slip_common.c
slip_common.h
slip_kern.c
slip_user.c um: fix error return code in slip_open() 2021-06-17 22:10:05 +02:00
slirp.h
slirp_kern.c um: fix 3 instances of -Wmissing-prototypes 2023-08-26 22:45:05 +02:00
slirp_user.c
ssl.c um: Do not initialise statics to 0. 2022-09-19 23:10:07 +02:00
stderr_console.c
stdio_console.c um: Do not initialise statics to 0. 2022-09-19 23:10:07 +02:00
stdio_console.h
tty.c
ubd.h
ubd_kern.c ubd: open the backing files in ubd_add 2024-02-27 14:21:15 -07:00
ubd_user.c
umcast.h
umcast_kern.c
umcast_user.c
vde.h
vde_kern.c
vde_user.c
vector_kern.c um: vector: Fix memory leak in vector_config 2023-02-01 22:11:27 +01:00
vector_kern.h um: Migrate vector drivers to NAPI 2022-03-11 10:45:21 +01:00
vector_transports.c
vector_user.c um: vector: refactor deprecated strncpy 2023-08-26 22:42:50 +02:00
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: fix platform map offset 2024-01-04 21:15:49 +01:00
virtio_uml.c um: virtio_uml: move device breaking into workqueue 2023-02-13 10:14:32 +01:00
xterm.c um: xterm: Make default terminal emulator configurable 2022-05-27 08:50:07 +02:00
xterm.h
xterm_kern.c um: fix 3 instances of -Wmissing-prototypes 2023-08-26 22:45:05 +02:00