[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[Libguestfs] [PATCH] inspect: Remove unused is_mountable field from filesystem struct



---
 src/guestfs-internal.h | 1 -
 src/inspect-fs.c       | 1 -
 2 files changed, 2 deletions(-)

diff --git a/src/guestfs-internal.h b/src/guestfs-internal.h
index ffcf91e..3e197ec 100644
--- a/src/guestfs-internal.h
+++ b/src/guestfs-internal.h
@@ -425,7 +425,6 @@ enum inspect_os_package_management {
 struct inspect_fs {
   int is_root;
   char *device;
-  int is_mountable;
   enum inspect_os_type type;
   enum inspect_os_distro distro;
   enum inspect_os_package_format package_format;
diff --git a/src/inspect-fs.c b/src/inspect-fs.c
index 2a4d480..c09c046 100644
--- a/src/inspect-fs.c
+++ b/src/inspect-fs.c
@@ -175,7 +175,6 @@ check_filesystem (guestfs_h *g, const char *device,
   struct inspect_fs *fs = &g->fses[g->nr_fses-1];
 
   fs->device = safe_strdup (g, device);
-  fs->is_mountable = 1;
 
   /* Optimize some of the tests by avoiding multiple tests of the same thing. */
   int is_dir_etc = guestfs_is_dir (g, "/etc") > 0;
-- 
1.7.11.7


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]