https://github.com/torvalds/linux
Revision 505fa2c4a2f125a70951926dfb22b9cf273994f1 authored by Neil Brown on 12 April 2007, 06:28:44 UTC, committed by Linus Torvalds on 12 April 2007, 22:31:42 UTC
If 'num_pages' were ever 1 more than a multiple of 8 (32bit platforms)
or of 16 (64 bit platforms).  filemap_attr would be allocated one
'unsigned long' shorter than required.  We need a round-up in there.

Signed-off-by: Neil Brown <neilb@suse.de>
Cc: <stable@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
1 parent b655077
History
Tip revision: 505fa2c4a2f125a70951926dfb22b9cf273994f1 authored by Neil Brown on 12 April 2007, 06:28:44 UTC
[PATCH] md: fix calculation for size of filemap_attr array in md/bitmap
Tip revision: 505fa2c
File Mode Size
Documentation
arch
block
crypto
drivers
fs
include
init
ipc
kernel
lib
mm
net
scripts
security
sound
usr
.gitignore -rw-r--r-- 572 bytes
.mailmap -rw-r--r-- 3.5 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 88.9 KB
Kbuild -rw-r--r-- 1.2 KB
MAINTAINERS -rw-r--r-- 82.3 KB
Makefile -rw-r--r-- 49.1 KB
README -rw-r--r-- 16.5 KB
REPORTING-BUGS -rw-r--r-- 3.0 KB

README

back to top