2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-27 22:53:55 +08:00
linux-next/fs/hostfs
Paolo 'Blaisorblade' Giarrusso 30f04a4efa [PATCH] uml: hostfs - fix possible PAGE_CACHE_SHIFT overflows
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>
2005-12-29 09:48:15 -08:00
..
hostfs_kern.c [PATCH] uml: hostfs - fix possible PAGE_CACHE_SHIFT overflows 2005-12-29 09:48:15 -08:00
hostfs_user.c [PATCH] uml: implement hostfs syncing 2005-07-28 21:46:05 -07:00
hostfs.h [PATCH] remove iattr.ia_attr_flags 2005-09-07 16:57:42 -07:00
Makefile Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00