mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-08 22:15:21 +00:00
storagefile: Make GetMetadataInternal static
It is only used in virstoragefile.c Reviewed-by: Daniel Henrique Barboza <danielhb413@gmail.com> Reviewed-by: Michal Privoznik <mprivozn@redhat.com> Signed-off-by: Cole Robinson <crobinso@redhat.com>
This commit is contained in:
parent
65ec10e83f
commit
285adba549
@ -2988,7 +2988,6 @@ virStorageFileGetLVMKey;
|
||||
virStorageFileGetMetadata;
|
||||
virStorageFileGetMetadataFromBuf;
|
||||
virStorageFileGetMetadataFromFD;
|
||||
virStorageFileGetMetadataInternal;
|
||||
virStorageFileGetNPIVKey;
|
||||
virStorageFileGetRelativeBackingPath;
|
||||
virStorageFileGetSCSIKey;
|
||||
|
@ -970,7 +970,7 @@ virStorageFileGetEncryptionPayloadOffset(const struct FileEncryptionInfo *info,
|
||||
* Note that this function may be called repeatedly on @meta, so it must
|
||||
* clean up any existing allocated memory which would be overwritten.
|
||||
*/
|
||||
int
|
||||
static int
|
||||
virStorageFileGetMetadataInternal(virStorageSourcePtr meta,
|
||||
char *buf,
|
||||
size_t len,
|
||||
|
@ -346,12 +346,6 @@ struct _virStorageSource {
|
||||
|
||||
int virStorageFileProbeFormat(const char *path, uid_t uid, gid_t gid);
|
||||
|
||||
int virStorageFileGetMetadataInternal(virStorageSourcePtr meta,
|
||||
char *buf,
|
||||
size_t len,
|
||||
int *backingFormat)
|
||||
ATTRIBUTE_NONNULL(1) ATTRIBUTE_NONNULL(2);
|
||||
|
||||
virStorageSourcePtr virStorageFileGetMetadataFromFD(const char *path,
|
||||
int fd,
|
||||
int format,
|
||||
|
Loading…
Reference in New Issue
Block a user