]> git.ipfire.org Git - thirdparty/libvirt.git/commit
storage: Fix check for stable path check
authorJohn Ferlan <jferlan@redhat.com>
Tue, 21 Apr 2015 10:07:50 +0000 (06:07 -0400)
committerJohn Ferlan <jferlan@redhat.com>
Tue, 21 Apr 2015 10:08:56 +0000 (06:08 -0400)
commit9e5e1ca144bb7051c03e5221a7473d4006dfdbe6
treec366247ff4f820b52d44e653964d4fb391312f8a
parent9126161d0bad94dab17836759010ab6ba2837ac8
storage: Fix check for stable path check

Fix the if (!STRPREFIX(path, "/dev")) to be if (!STRPREFIX(path, "/dev/"))
to ensure a path such as "/device" isn't declared stable.
src/storage/storage_backend.c