growfs: add support for resizing encrypted partitions

This commit is contained in:
Zbigniew Jędrzejewski-Szmek
2017-11-30 20:43:25 +01:00
parent c116b03595
commit c34b75a124
4 changed files with 84 additions and 1 deletions
+1 -1
View File
@@ -51,7 +51,7 @@
#include "udev-util.h"
#include "xattr-util.h"
_unused_ static int probe_filesystem(const char *node, char **ret_fstype) {
int probe_filesystem(const char *node, char **ret_fstype) {
#if HAVE_BLKID
_cleanup_blkid_free_probe_ blkid_probe b = NULL;
const char *fstype;
+1
View File
@@ -86,6 +86,7 @@ struct DissectedImage {
char **os_release;
};
int probe_filesystem(const char *node, char **ret_fstype);
int dissect_image(int fd, const void *root_hash, size_t root_hash_size, DissectImageFlags flags, DissectedImage **ret);
DissectedImage* dissected_image_unref(DissectedImage *m);