Re: [libvirt] [PATCH 06/12] storage: On error rmdir created directory in virDirCreate[NoFork]

2015-10-13 Thread Peter Krempa
On Fri, Oct 09, 2015 at 09:34:05 -0400, John Ferlan wrote: > After a successful creation of a directory, if some other call results > in returning a failure, let's remove the directory we created to > prevent another round trip or confusion in the caller. In particular, this > function can be calle

[libvirt] [PATCH 06/12] storage: On error rmdir created directory in virDirCreate[NoFork]

2015-10-09 Thread John Ferlan
After a successful creation of a directory, if some other call results in returning a failure, let's remove the directory we created to prevent another round trip or confusion in the caller. In particular, this function can be called during a storage backend buildVol, so in order to ensure that cal