svn commit: r298478 - head/sys/boot/pc98/libpc98
Allan Jude
allanjude at FreeBSD.org
Fri Apr 22 16:20:59 UTC 2016
Author: allanjude
Date: Fri Apr 22 16:20:58 2016
New Revision: 298478
URL: https://svnweb.freebsd.org/changeset/base/298478
Log:
Fix more pc98 build issues re: bcache change
Reported by: bz, emaste
Modified:
head/sys/boot/pc98/libpc98/biosdisk.c
Modified: head/sys/boot/pc98/libpc98/biosdisk.c
==============================================================================
--- head/sys/boot/pc98/libpc98/biosdisk.c Fri Apr 22 16:15:58 2016 (r298477)
+++ head/sys/boot/pc98/libpc98/biosdisk.c Fri Apr 22 16:20:58 2016 (r298478)
@@ -737,13 +737,13 @@ bd_strategy(void *devdata, int rw, daddr
char *buf, size_t *rsize)
{
struct bcache_devdata bcd;
- struct i386_devdesc *dev = f->f_devdata;
+ struct i386_devdesc *dev = devdata;
struct open_disk *od = (struct open_disk *)(dev->d_kind.biosdisk.data);
bcd.dv_strategy = bd_realstrategy;
bcd.dv_devdata = devdata;
bcd.dv_cache = BD(dev).bd_bcache;
- return(bcache_strategy(&bcd, od->od_unit, rw, dblk+od->od_boff, offset,
+ return(bcache_strategy(&bcd, rw, dblk+od->od_boff, offset,
size, buf, rsize));
}
More information about the svn-src-all
mailing list