Re: [libvirt] [PATCH v3 1/4] virfile: Introduce virFileRemoveLastComponent

2016-05-12 Thread Peter Krempa
On Thu, May 12, 2016 at 14:36:21 +0200, Michal Privoznik wrote: > Move some parts of virStorageFileRemoveLastPathComponent > into a separate function so they can be reused. > > Signed-off-by: Michal Privoznik > --- > src/libvirt_private.syms | 1 + > src/util/virfile.c| 17

[libvirt] [PATCH v3 1/4] virfile: Introduce virFileRemoveLastComponent

2016-05-12 Thread Michal Privoznik
Move some parts of virStorageFileRemoveLastPathComponent into a separate function so they can be reused. Signed-off-by: Michal Privoznik --- src/libvirt_private.syms | 1 + src/util/virfile.c| 17 + src/util/virfile.h| 1 + src/util/virstoragefile.c | 6 +-