mirror of
https://github.com/torvalds/linux.git
synced 2024-12-15 15:41:58 +00:00
30f04a4efa
Prevent page->index << PAGE_CACHE_SHIFT from overflowing. There is a casting there, but was added without care, so it's at the wrong place. Note the extra parens around the shift - "+" is higher precedence than "<<", leading to a GCC warning which saved all us. Signed-off-by: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it> Signed-off-by: Linus Torvalds <torvalds@osdl.org> |
||
---|---|---|
.. | ||
hostfs_kern.c | ||
hostfs_user.c | ||
hostfs.h | ||
Makefile |