kernel_optimize_test/fs/minix
Dan Carpenter 642b704cd7 minix: bug widening a binary "not" operation
"chunk_size" is an unsigned int and "pos" is an unsigned long.  The
"& ~(chunk_size-1)" operation clears the high 32 bits unintentionally.

The ALIGN() macro does the correct thing.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
2013-06-29 12:57:35 +04:00
..
bitmap.c
dir.c minix: bug widening a binary "not" operation 2013-06-29 12:57:35 +04:00
file.c
inode.c
itree_common.c
itree_v1.c
itree_v2.c
Kconfig
Makefile
minix.h
namei.c