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));
 }
 
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"

Reply via email to