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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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()
  lib: Replace virFileMakePathWithMode() with g_mkdir_with_parents()
  lib: Replace virFileMakePath() with g_mkdir_with_parents()
  util: Drop virFileMakePath() and virFileMakePathWithMode()

 src/bhyve/bhyve_driver.c                |  6 +--
 src/conf/domain_conf.c                  |  2 +-
 src/conf/network_conf.c                 |  2 +-
 src/conf/virnetworkportdef.c            |  2 +-
 src/conf/virnwfilterbindingobj.c        |  2 +-
 src/conf/virstorageobj.c                |  2 +-
 src/hypervisor/virhostdev.c             |  4 +-
 src/interface/interface_backend_netcf.c |  2 +-
 src/interface/interface_backend_udev.c  |  2 +-
 src/libvirt_private.syms                |  2 -
 src/libxl/libxl_conf.c                  |  2 +-
 src/libxl/libxl_driver.c                | 12 ++---
 src/locking/lock_daemon.c               |  4 +-
 src/logging/log_daemon.c                |  4 +-
 src/lxc/lxc_container.c                 | 18 +++----
 src/lxc/lxc_controller.c                |  4 +-
 src/lxc/lxc_driver.c                    |  4 +-
 src/lxc/lxc_fuse.c                      |  2 +-
 src/lxc/lxc_process.c                   |  2 +-
 src/network/bridge_driver.c             | 12 ++---
 src/node_device/node_device_udev.c      |  2 +-
 src/nwfilter/nwfilter_dhcpsnoop.c       |  2 +-
 src/nwfilter/nwfilter_driver.c          |  6 +--
 src/qemu/qemu_checkpoint.c              |  2 +-
 src/qemu/qemu_domain.c                  |  2 +-
 src/qemu/qemu_driver.c                  | 26 +++++-----
 src/qemu/qemu_namespace.c               |  6 +--
 src/qemu/qemu_process.c                 |  6 +--
 src/qemu/qemu_tpm.c                     |  4 +-
 src/remote/remote_daemon.c              |  2 +-
 src/rpc/virnetsocket.c                  |  2 +-
 src/secret/secret_driver.c              |  4 +-
 src/storage/storage_driver.c            |  4 +-
 src/storage/storage_util.c              |  2 +-
 src/util/vircgroupv1.c                  |  4 +-
 src/util/vircgroupv2.c                  |  2 +-
 src/util/virdaemon.c                    |  2 +-
 src/util/virdnsmasq.c                   |  2 +-
 src/util/virfile.c                      | 69 ++-----------------------
 src/util/virfile.h                      |  3 --
 src/util/virfilecache.c                 |  2 +-
 src/util/virlockspace.c                 |  2 +-
 src/util/virlog.c                       |  2 +-
 src/util/virpidfile.c                   |  4 +-
 src/util/virresctrl.c                   |  2 +-
 src/vz/vz_driver.c                      |  2 +-
 tests/scsihosttest.c                    |  4 +-
 tests/securityselinuxlabeltest.c        |  4 +-
 tests/vboxsnapshotxmltest.c             |  2 +-
 tests/vircgroupmock.c                   |  2 +-
 tests/virhostdevtest.c                  |  2 +-
 tests/virpcimock.c                      | 12 ++---
 tests/virstoragetest.c                  |  4 +-
 tools/vsh.c                             |  2 +-
 54 files changed, 110 insertions(+), 178 deletions(-)

-- 
2.26.2




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux