mirror of
https://github.com/libguestfs/libguestfs.git
synced 2026-03-22 07:03:38 +00:00
inspect: Remove unused is_swap field from filesystem struct
This commit is contained in:
committed by
Richard W.M. Jones
parent
4fd5b89e36
commit
66ada9ed31
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user