[PATCH 0/4] Replace virFileMakePath*() with g_mkdir_with_parents()

Ján Tomko jtomko at redhat.com
Thu Mar 4 17:08:21 UTC 2021


On a Monday in 2021, Michal Privoznik wrote:
>While reading through glib manual I've noticed there's
>g_mkdir_with_parents() which does the same as our virFileMakePath() and
>virFileMakePathWithMode().
>
>Michal Prívozník (4):
>  virfile: Replace virFileMakePathHelper() with g_mkdir_with_parents()

This patch would make sense separately if the conversion had to be
spread out over months, like we did with VIR_ALLOC. But since you delete
the functions anyway in 4/4, consider squashing 1/4 and 4/4 together.

>  lib: Replace virFileMakePathWithMode() with g_mkdir_with_parents()
>  lib: Replace virFileMakePath() with g_mkdir_with_parents()
>  util: Drop virFileMakePath() and virFileMakePathWithMode()
>

Reviewed-by: Ján Tomko <jtomko at redhat.com>

Jano
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20210304/40e8849b/attachment-0001.sig>


More information about the libvir-list mailing list