Re: [PATCH] squashfs: identify device in mount errors
From: Phillip Lougher
Date: Fri Nov 06 2026 - 16:53:34 EST
On 12/09/2026 15:53, Christian Loehle wrote:
Squashfs mount failures reported through fs_context do not identify theSorry for the delay, I'm currently snowed under with AI reported issues.
backing device, fix this y printing the block device.
Repeated automount failures used to be ambiguous, for example:
Filesystem uses "xz" compression. This is not supported
All of the affected errors occur after get_tree_bdev() has opened the
block device and setup_bdev_super() has assigned sb->s_bdev.
Use it to identify the failing Squashfs image even when the mount is
retried. For example, the error above now reads:
Filesystem on loop0 uses "xz" compression. This is not supported
Signed-off-by: Christian Loehle <christian.loehle@xxxxxxx>
Looks good.
Review-by: Phillip Lougher <phillip@xxxxxxxxxxxxxxx <https://phillip@xxxxxxxxxxxxxxx>>