[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [libvirt] [PATCH] Make check for /dev/loop device names stricter to avoid /dev/loop-control



On 08/09/2013 10:45 AM, Daniel P. Berrange wrote:
> From: "Daniel P. Berrange" <berrange redhat com>
> 
> Recentish (2011) kernels introduced a new device called /dev/loop-control,
> which causes libvirt's detection of loop devices to get confused
> since it only checks for a prefix of 'loop'. Also check that the
> next character is a digit
> 
> Signed-off-by: Daniel P. Berrange <berrange redhat com>
> ---
>  src/util/virfile.c | 6 +++++-
>  1 file changed, 5 insertions(+), 1 deletion(-)

ACK.

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]