summaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorNeil Brown <neilb@suse.de>2007-04-11 23:28:44 -0700
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-04-12 15:31:42 -0700
commit505fa2c4a2f125a70951926dfb22b9cf273994f1 (patch)
treeaa96fd86c3a26bcd062c1e19e527faf684848516 /fs
parentb6550777a32f7204f87475beb4f40d054fb8d4b4 (diff)
downloadop-kernel-dev-505fa2c4a2f125a70951926dfb22b9cf273994f1.zip
op-kernel-dev-505fa2c4a2f125a70951926dfb22b9cf273994f1.tar.gz
[PATCH] md: fix calculation for size of filemap_attr array in md/bitmap
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>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud