growfs: add support for resizing encrypted partitions
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user