
On 05/31/2011 10:03 AM, 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
v4: Use gnulib "dirname.h", not system <dirname.h> Don't skip lost+found
Signed-off-by: Cole Robinson <crobinso@redhat.com> --- src/storage/storage_backend.c | 44 +++++++++++++++++++++++++++++++------ src/storage/storage_backend.h | 7 +++++- src/storage/storage_backend_fs.c | 14 ++++++++--- src/util/storage_file.c | 30 +++++++++++++++++++++++++- 4 files changed, 82 insertions(+), 13 deletions(-)
ACK. -- Eric Blake eblake@redhat.com +1-801-349-2682 Libvirt virtualization library http://libvirt.org