libvirt/src/storage
Ján Tomko 0a125c7144 virBufferTrim: do not accept len
Always trim the full specified suffix.

All of the callers outside of tests were passing either
strlen or the actual length of the string.

Signed-off-by: Ján Tomko <jtomko@redhat.com>
Reviewed-by: Peter Krempa <pkrempa@redhat.com>
2020-02-03 19:44:38 +01:00
..
Makefile.inc.am configure: Provide OpenRC scripts for sub-daemons 2019-12-16 10:11:22 +01:00
parthelper.c use g_ascii_isdigit instead of c_isdigit frum gnulib 2019-12-10 13:49:24 +01:00
storage_backend_disk.c src: replace last_component() with g_path_get_basename() 2020-01-03 15:42:13 +00:00
storage_backend_disk.h
storage_backend_fs.c storage: remove unneeded cleanup labels 2019-11-12 17:54:01 +01:00
storage_backend_fs.h
storage_backend_gluster.c storage: Use g_strdup_printf() instead of virAsprintf() 2019-11-12 16:15:58 +01:00
storage_backend_gluster.h
storage_backend_iscsi_direct.c secret: move virSecretGetSecretString into virsecret 2020-01-17 15:52:37 +01:00
storage_backend_iscsi_direct.h
storage_backend_iscsi.c secret: move virSecretGetSecretString into virsecret 2020-01-17 15:52:37 +01:00
storage_backend_iscsi.h
storage_backend_logical.c storage: use GRegex virStorageBackendLogicalParseVolExtents 2019-11-14 17:45:40 +01:00
storage_backend_logical.h
storage_backend_mpath.c storage: Use g_strdup_printf() instead of virAsprintf() 2019-11-12 16:15:58 +01:00
storage_backend_mpath.h
storage_backend_rbd.c secret: move virSecretGetSecretString into virsecret 2020-01-17 15:52:37 +01:00
storage_backend_rbd.h
storage_backend_scsi.c storage: Use g_strdup_printf() instead of virAsprintf() 2019-11-12 16:15:58 +01:00
storage_backend_scsi.h
storage_backend_sheepdog_priv.h
storage_backend_sheepdog.c storage: Use g_strdup_printf() instead of virAsprintf() 2019-11-12 16:15:58 +01:00
storage_backend_sheepdog.h
storage_backend_vstorage.c storage: Use g_strdup_printf() instead of virAsprintf() 2019-11-12 16:15:58 +01:00
storage_backend_vstorage.h
storage_backend_zfs.c Allow a zfs pool or dataset as source for zfs storage backend 2019-11-15 15:25:53 +01:00
storage_backend_zfs.h
storage_backend.c Use g_autofree instead of VIR_AUTOFREE 2019-10-16 12:06:43 +02:00
storage_backend.h
storage_driver.c libvirt: pass a directory path into drivers for embedded usage 2020-01-27 11:02:16 +00:00
storage_driver.h Use G_GNUC_WARN_UNUSED_RESULT instead of ATTRIBUTE_RETURN_CHECK 2019-10-15 11:25:22 +02:00
storage_file_fs.c
storage_file_fs.h
storage_file_gluster.c storage: Use g_strdup_printf() instead of virAsprintf() 2019-11-12 16:15:58 +01:00
storage_file_gluster.h
storage_util.c virBufferTrim: do not accept len 2020-02-03 19:44:38 +01:00
storage_util.h Use G_GNUC_WARN_UNUSED_RESULT instead of ATTRIBUTE_RETURN_CHECK 2019-10-15 11:25:22 +02:00
virtstoraged.init.in configure: Provide OpenRC scripts for sub-daemons 2019-12-16 10:11:22 +01:00
virtstoraged.service.in