[libvirt] [PATCHv4 7/8] storage: improve handling of symlinks in gluster

Daniel P. Berrange berrange at redhat.com
Mon Nov 25 15:57:27 UTC 2013


On Fri, Nov 22, 2013 at 08:20:29PM -0700, Eric Blake wrote:
> With this patch, dangling and looping symlinks are silently
> ignored, while links to files and directories are treated the
> same as the underlying file or directory.  This is the same
> behavior as both 'directory' and 'netfs' pools.
> 
> * src/storage/storage_backend_gluster.c
> (virStorageBackendGlusterRefreshVol): Treat symlinks similar to
> directory and netfs pools.
> 
> Signed-off-by: Eric Blake <eblake at redhat.com>
> ---
>  src/storage/storage_backend_gluster.c | 11 +++++++++++
>  1 file changed, 11 insertions(+)

ACK

Daniel
-- 
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc :|




More information about the libvir-list mailing list