]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
declare AFFS, CPIO, TAR and XFS as non-installable explicitly
authorVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Sat, 11 Dec 2010 17:21:39 +0000 (18:21 +0100)
committerVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Sat, 11 Dec 2010 17:21:39 +0000 (18:21 +0100)
grub-core/fs/affs.c
grub-core/fs/cpio.c
grub-core/fs/xfs.c

index 3dc80752d1d9a7bc6e6d0940456667d5d2eb71ae..27e03c0c4910aba300ad3a4ce008a685ca932c2b 100644 (file)
@@ -535,6 +535,9 @@ static struct grub_fs grub_affs_fs =
     .read = grub_affs_read,
     .close = grub_affs_close,
     .label = grub_affs_label,
+#ifdef GRUB_UTIL
+    .reserved_first_sector = 0,
+#endif
     .next = 0
   };
 
index 486d8215c774c3cefe8efcd62b06012333a6f48c..a6c7a1261bb5bfd9bd4556608824fd759c596ba7 100644 (file)
@@ -362,6 +362,9 @@ static struct grub_fs grub_cpio_fs = {
   .open = grub_cpio_open,
   .read = grub_cpio_read,
   .close = grub_cpio_close,
+#ifdef GRUB_UTIL
+  .reserved_first_sector = 0,
+#endif
 };
 
 #ifdef MODE_USTAR
index 966bade1b5525baae653f3a57cd3bfd2e3effe78..dbe957470879b67c612d6acc18f7f2ddac71cf96 100644 (file)
@@ -822,6 +822,9 @@ static struct grub_fs grub_xfs_fs =
     .close = grub_xfs_close,
     .label = grub_xfs_label,
     .uuid = grub_xfs_uuid,
+#ifdef GRUB_UTIL
+    .reserved_first_sector = 0,
+#endif
     .next = 0
   };