git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
30c43e2
)
Btrfs: cast bio->bi_sector to a u64 before shifting
author
Chris Mason
<chris.mason@oracle.com>
Fri, 3 Oct 2008 20:31:08 +0000
(16:31 -0400)
committer
Chris Mason
<chris.mason@oracle.com>
Fri, 3 Oct 2008 20:31:08 +0000
(16:31 -0400)
On 32 bit machines without CONFIG_LBD, the bi_sector field is only 32 bits.
Btrfs needs to cast it before shifting up, or we end up doing IO into
the wrong place.
Signed-off-by: Chris Mason <chris.mason@oracle.com>
No differences found