inspect: Remove unused is_swap field from filesystem struct

This commit is contained in:
Matthew Booth
2012-12-11 15:01:11 +00:00
committed by Richard W.M. Jones
parent 4fd5b89e36
commit 66ada9ed31
2 changed files with 0 additions and 2 deletions

View File

@@ -426,7 +426,6 @@ struct inspect_fs {
int is_root;
char *device;
int is_mountable;
int is_swap;
enum inspect_os_type type;
enum inspect_os_distro distro;
enum inspect_os_package_format package_format;

View File

@@ -112,7 +112,6 @@ guestfs___check_for_filesystem_on (guestfs_h *g, const char *device,
if (extend_fses (g) == -1)
return -1;
fs = &g->fses[g->nr_fses-1];
fs->is_swap = 1;
return 0;
}