Date: Mon, 18 Jan 2016 20:22:51 +0000 (UTC) From: Andrew Turner <andrew@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r294291 - head/sys/boot/efi/boot1 Message-ID: <201601182022.u0IKMpVx092303@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201601182022.u0IKMpVx092303>