btrfs-progs/image
Qu Wenruo 18ecbfd3dd btrfs-progs: open the devices exclusively for writes
There is an internal report that, during btrfs-convert to block-group
tree, by accident some systemd events triggered the mount of the target
fs.

This leads to double mount (one by kernel and one by the btrfs-progs),
which seems to cause quite some problems.

To avoid such accident, exclusively opens all devices if btrfs-progs is
doing write operations.

Pull-request: #888
Reported-by: pandada8 <pandada8@gmail.com>
Signed-off-by: Qu Wenruo <wqu@suse.com>
2024-09-17 14:33:22 +02:00
..
common.c btrfs-progs: use unaligned LE access almost everywhere 2024-05-30 18:57:10 +02:00
common.h btrfs-progs: clean up includes, using include-what-you-use 2023-10-03 01:11:57 +02:00
image-create.c btrfs-progs: use unaligned LE access almost everywhere 2024-05-30 18:57:10 +02:00
image-restore.c btrfs-progs: open the devices exclusively for writes 2024-09-17 14:33:22 +02:00
main.c btrfs-progs: clean up includes, using include-what-you-use 2023-10-03 01:11:57 +02:00
Makefile btrfs-progs: build: add stub makefile to image and mkfs 2019-07-04 15:36:01 +02:00
metadump.h btrfs-progs: image: fix declaration of current_version 2024-07-30 19:53:32 +02:00
sanitize.c btrfs-progs: image: fix the bug that filename sanitization not working 2024-07-30 19:57:06 +02:00
sanitize.h btrfs-progs: image: update include lists 2022-10-11 09:06:12 +02:00