This lock-while-mounted behaviour is similar to what QEMU does, and can
help avoid duplicate mounts.
Allowing for an explicit lock path that differs from the filesystem
image / block device path was intentional, to ensure non-flock
supporting filesystems can still be used. Also, there are cases where
a block device and partition (e.g. sda and sda1) can both provide access
to the same filesystem image, in which case an FS-ID based lock would
make sense.
Signed-off-by: David Disseldorp <ddiss@suse.de>
Can be converted to a man page via rst2man.
The empty lines in the OPTIONS section aren't ideal, but it's the
simplest way to get the rst2man output on separate lines.
Signed-off-by: David Disseldorp <ddiss@suse.de>
In preparation for adding more arch specific documentation.
Add an additional F: Documentation/lkl entry to MAINTAINERS.
Signed-off-by: David Disseldorp <ddiss@suse.de>