git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
VServer 1.9.2 (patch-2.6.8.1-vs1.9.2.diff)
[linux-2.6.git]
/
fs
/
hfsplus
/
wrapper.c
diff --git
a/fs/hfsplus/wrapper.c
b/fs/hfsplus/wrapper.c
index
ca59522
..
777db11
100644
(file)
--- a/
fs/hfsplus/wrapper.c
+++ b/
fs/hfsplus/wrapper.c
@@
-135,7
+135,7
@@
int hfsplus_read_wrapper(struct super_block *sb)
return -EINVAL;
HFSPLUS_SB(sb).alloc_blksz = blocksize;
HFSPLUS_SB(sb).alloc_blksz_shift = 0;
- while (
blocksize >>= 1
)
+ while (
(blocksize >>= 1) != 0
)
HFSPLUS_SB(sb).alloc_blksz_shift++;
blocksize = min(HFSPLUS_SB(sb).alloc_blksz, (u32)PAGE_SIZE);