]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commit
storage: List directory volumes for dir/fs/netfs pools
authorCole Robinson <crobinso@redhat.com>
Thu, 26 May 2011 18:05:32 +0000 (14:05 -0400)
committerCole Robinson <crobinso@redhat.com>
Tue, 31 May 2011 16:47:58 +0000 (12:47 -0400)
commit8077d64f964705c1034555abeea38773532b762f
tree7229e8e04a6f086260f5559d6b2188d41de4add5
parent7693c0397376567556754246d67e22831683201a
storage: List directory volumes for dir/fs/netfs pools

Since directories can be used for <filesystem> passthrough, they are
basically storage volumes.

v2:
    Skip ., .., lost+found dirs

v3:
    Use gnulib last_component

v4:
    Use gnulib "dirname.h", not system <dirname.h>
    Don't skip lost+found
src/storage/storage_backend.c
src/storage/storage_backend.h
src/storage/storage_backend_fs.c
src/util/storage_file.c