summaryrefslogtreecommitdiff
path: root/include/asm-um/irqflags.h
diff options
context:
space:
mode:
authorNeil Brown <neilb@suse.de>2007-10-16 11:48:46 (GMT)
committerJens Axboe <jens.axboe@oracle.com>2007-10-16 11:48:46 (GMT)
commit644bd2f048972d75eb1979b1fdca257d528ce687 (patch)
tree1a6c067c285ba8497e433f8545c550dc4ffc7135 /include/asm-um/irqflags.h
parent3eed13fd933dbb81db12f7cdec6de9268c4443b5 (diff)
downloadlinux-fsl-qoriq-644bd2f048972d75eb1979b1fdca257d528ce687.tar.xz
Fix memory leak in dm-crypt
dm-crypt used the ->bi_size member in the bio endio handling to free the appropriate pages, but it frees all of it from both call paths. With the ->bi_end_io() changes, ->bi_size was always 0 since we don't do partial completes. This caused dm-crypt to leak memory. Fix this by removing the size argument from crypt_free_buffer_pages(). Signed-off-by: Neil Brown <neilb@suse.de> Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to 'include/asm-um/irqflags.h')
0 files changed, 0 insertions, 0 deletions