svn commit: r294291 - head/sys/boot/efi/boot1

Andrew Turner andrew at FreeBSD.org
Mon Jan 18 20:22:52 UTC 2016


Author: andrew
Date: Mon Jan 18 20:22:51 2016
New Revision: 294291
URL: https://svnweb.freebsd.org/changeset/base/294291

Log:
  Reset the filesystem cache before reading from a potentially new
  filesystem. Without this we only read from the first UFS filesystem we
  find, caching the result.
  
  X-MFC with:	The recent boot1.efi changes

Modified:
  head/sys/boot/efi/boot1/ufs_module.c

Modified: head/sys/boot/efi/boot1/ufs_module.c
==============================================================================
--- head/sys/boot/efi/boot1/ufs_module.c	Mon Jan 18 20:21:38 2016	(r294290)
+++ head/sys/boot/efi/boot1/ufs_module.c	Mon Jan 18 20:22:51 2016	(r294291)
@@ -171,6 +171,7 @@ try_load(dev_info_t *dev, const char *lo
 	ssize_t read;
 	void *buf;
 
+	dsk_meta = 0;
 	devinfo = dev;
 	if ((ino = lookup(loader_path)) == 0)
 		return (EFI_NOT_FOUND);


More information about the svn-src-head mailing list