Commit 642b704cd7a29be0b8900971eb525086c1c995b7
Committed by
Al Viro
1 parent
18c67cb9f0
Exists in
master
and in
20 other branches
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>
Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff