public
/
FUZIX.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6615c25
)
Upstream already got this fix, in a slightly different form. Use theirs.
author
David Given
<dg@cowlark.com>
Sat, 17 Oct 2015 22:28:33 +0000
(
00:28
+0200)
committer
David Given
<dg@cowlark.com>
Sat, 17 Oct 2015 22:28:33 +0000
(
00:28
+0200)
Kernel/dev/blkdev.c
patch
|
blob
|
history
diff --git
a/Kernel/dev/blkdev.c
b/Kernel/dev/blkdev.c
index
8143509
..
2bbc247
100644
(file)
--- a/
Kernel/dev/blkdev.c
+++ b/
Kernel/dev/blkdev.c
@@
-126,7
+126,7
@@
static int blkdev_transfer(uint8_t minor, uint8_t rawflag)
goto xferfail;
blk_op.nblock -= n;
count += n;
- blk_op.addr += n
<<BLKSHIFT
;
+ blk_op.addr += n
* BLKSIZE
;
blk_op.lba += n;
}