]> git.sesse.net Git - bcachefs-tools-debian/commit
cmd_mount: Use noxcl for opening block devices
authorKent Overstreet <kent.overstreet@linux.dev>
Sat, 13 Jan 2024 06:47:33 +0000 (01:47 -0500)
committerKent Overstreet <kent.overstreet@linux.dev>
Mon, 15 Jan 2024 17:53:52 +0000 (12:53 -0500)
commit039fd4064af9d6171ae5bf87a199f61e7e3da718
treee633986cf7b3acffb81ed0ae193582a5a69fc2dd
parent5ed0dcc00100c2f361e917760bd114a7af12394a
cmd_mount: Use noxcl for opening block devices

We're only reading the superblocks, no need for O_EXCL - and this fixes
mounts failing because we're still holding the devices open.

Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
rust-src/src/cmd_mount.rs