Fam Zheng b857431d2a file-posix: Include filename in locking error message
Image locking errors happening at device initialization time doesn't say
which file cannot be locked, for instance,

    -device scsi-disk,drive=drive-1: Failed to get shared "write" lock
    Is another process using the image?

could refer to either the overlay image or its backing image.

Hoist the error_append_hint to the caller of raw_check_lock_bytes where
file name is known, and include it in the error hint.

Signed-off-by: Fam Zheng <famz@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
2018-10-01 12:51:11 +02:00
..
2018-07-10 16:01:52 +02:00
2018-08-31 16:28:33 +02:00
2018-08-15 12:50:39 +02:00
2018-09-25 15:50:15 +02:00
2018-08-15 12:50:39 +02:00
2018-08-15 10:12:35 +08:00
2018-07-10 17:28:29 +01:00
2018-07-30 15:35:37 +02:00
2018-08-15 12:50:39 +02:00
2018-07-10 16:01:52 +02:00