mirror of
https://github.com/kdave/btrfs-progs
synced 2024-12-25 23:52:17 +00:00
cb19235991
[BUG] Test case misc/046-seed-multi-mount would always fail with the following error: [TEST] misc-tests.sh [TEST/misc] 046-seed-multi-mount unexpected success: writable file despite read-only mount test failed for case 046-seed-multi-mount [CAUSE] Although mounting seed device is indeed read-only, sprouting it with a new device would always make it read-write by itself. The behavior is already there for a long time, thus expecting a new behavior (not changing the read-only flag) is a little weird. [FIX] Instead of doing the write check after the sprout, do it before the sprout. This looks more correct, and would not rely on the kernel behavior change (if we determine to go that path). Signed-off-by: Qu Wenruo <wqu@suse.com> Signed-off-by: David Sterba <dsterba@suse.com> |
||
---|---|---|
.. | ||
test.sh |