[libvirt] [PATCH v3] storage: List directory volumes for dir/fs/netfs pools

Eric Blake eblake at redhat.com
Thu May 26 20:29:24 UTC 2011


On 05/26/2011 02:21 PM, Cole Robinson wrote:
> Since directories can be used for <filesystem> passthrough, they are
> basically storage volumes.
> 
> v2:
>     Skip ., .., lost+found dirs
> 
> v3:
>     Use gnulib last_component
> 

> diff --git a/src/storage/storage_backend.c b/src/storage/storage_backend.c
> index 02e455f..f23cf60 100644
> --- a/src/storage/storage_backend.c
> +++ b/src/storage/storage_backend.c
> @@ -36,6 +36,7 @@
>  #include <sys/stat.h>
>  #include <sys/param.h>
>  #include <dirent.h>
> +#include <dirname.h>

dirname.h is a gnulib header ("dirname.h"), not a system header
(<dirname.h>).  Sink it down to live with other gnulib/libvirt internal
headers.

ACK with that nit fixed, no need to post a v4 to the list.

-- 
Eric Blake   eblake at redhat.com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 619 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20110526/c6608846/attachment-0001.sig>


More information about the libvir-list mailing list