|
|
![](http://www.xen.org/images/globals/pixel.gif) |
|
|
|
|
|
|
|
xen-devel
Re: [Xen-devel] [PATCH] tools/hotplug/Linux/block: fix shared loop devic
On Wed, Jul 06, Zhigang Wang wrote:
> # HG changeset patch
> # User Zhigang Wang <zhigang.x.wang@xxxxxxxxxx>
> # Date 1309991886 14400
> # Node ID 52449dfa903562aa563fef0d229e2dc61a768f4c
> # Parent 2f63562df1c4230492a81793dce3672f93c93d9a
> tools/hotplug/Linux/block: fix shared loop device detection
>
> We need to prefix 0 or more '0' to '$dev':
>
> # stat -c '%D' "/system.img"
> 13
> # losetup -a
> /dev/loop0: [0013]:12062248 (/system.img)
>
> Signed-off-by: Zhigang Wang <zhigang.x.wang@xxxxxxxxxx>
The leading zero was in the 4.0 code. Thanks for spotting.
Acked-by: Olaf Hering <olaf@xxxxxxxxx>
Olaf
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
|
|
|
|