aboutsummaryrefslogtreecommitdiffstats
path: root/fs/jbd/commit.c
diff options
context:
space:
mode:
authorMatthew Wilcox <[email protected]>2007-12-03 17:10:24 +0000
committerMatthew Wilcox <[email protected]>2007-12-04 15:39:56 +0000
commit399154be2dcb6a58dbde9682162c38113cf3e40b (patch)
treee8f18356056729ef104db151703018d72e9ca929 /fs/jbd/commit.c
parentAvoid taking waitqueue lock in dmapool (diff)
downloadkernel-399154be2dcb6a58dbde9682162c38113cf3e40b.tar.gz
kernel-399154be2dcb6a58dbde9682162c38113cf3e40b.zip
dmapool: Validate parameters to dma_pool_create
Check that 'align' is a power of two, like the API specifies. Align 'size' to 'align' correctly -- the current code has an off-by-one. The ALIGN macro in kernel.h doesn't. Signed-off-by: Matthew Wilcox <[email protected]> Acked-by: David S. Miller <[email protected]>
Diffstat (limited to 'fs/jbd/commit.c')
0 files changed, 0 insertions, 0 deletions