]> git.ipfire.org Git - thirdparty/util-linux.git/commit
lib/loopdev: clarify comment about device and backing file modes
authorThomas Weißschuh <thomas.weissschuh@linutronix.de>
Wed, 16 Apr 2025 09:53:36 +0000 (11:53 +0200)
committerThomas Weißschuh <thomas.weissschuh@linutronix.de>
Wed, 16 Apr 2025 09:53:36 +0000 (11:53 +0200)
commitc6fc8252299fd4a8b1b02f936ac9dcc7521bd595
tree8e0b8e783ff18d371b1d312a117434140b62ea31
parent8970f6a46676f5d5abd99ee08c559c7851ccf843
lib/loopdev: clarify comment about device and backing file modes

If either the backing file or ioctl loop device are opened read-only the
kernel will silently downgrade the resulting loop device to read-only.

Adapt the comment to this.

Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de>
lib/loopdev.c