diff options
author | David Sterba <dsterba@suse.com> | 2017-10-10 14:53:32 +0200 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2017-10-13 20:15:43 +0200 |
commit | 0a694ff4b0bf37b6ade11184401420af002faffd (patch) | |
tree | 910036071790a934c9690f06c8c14cb62ecc2afe /tests/cli-tests/007-check-force/test.sh | |
parent | 37f1faef159ebcf91846e7126879b1a413cb29a5 (diff) |
btrfs-progs: check: drop exclusive open mode for --force
The check opens the given device in exclusive by default. In the forced
mode we want to access a device in use, so we have to drop the
exclusivity bit.
This works for block devices but not for files, that could be mounted
via a loop device. In that respect test check/007 is broken and will be
fixed.
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'tests/cli-tests/007-check-force/test.sh')
0 files changed, 0 insertions, 0 deletions