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:
3612abb
)
ceph: fix file offset wrapping at 4GB on 32-bit archs
author
Sage Weil
<sage@newdream.net>
Sat, 11 Sep 2010 17:55:25 +0000
(10:55 -0700)
committer
Sage Weil
<sage@newdream.net>
Sat, 11 Sep 2010 17:55:25 +0000
(10:55 -0700)
Cast the value before shifting so that we don't run out of bits with a
32-bit unsigned long. This fixes wrapping of high file offsets into the
low 4GB of a file on disk, and the subsequent data corruption for large
files.
Signed-off-by: Sage Weil <sage@newdream.net>
fs/ceph/addr.c
patch
|
blob
|
history
diff --cc
fs/ceph/addr.c
Simple merge