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
This commit is contained in:
Andrew Turner
2016-01-18 20:22:51 +00:00
parent 5837aafd13
commit f3750b35c4
+1
View File
@@ -171,6 +171,7 @@ try_load(dev_info_t *dev, const char *loader_path, void **bufp, size_t *bufsize)
ssize_t read;
void *buf;
dsk_meta = 0;
devinfo = dev;
if ((ino = lookup(loader_path)) == 0)
return (EFI_NOT_FOUND);