Neil Brown
644bd2f048
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 >
2007-10-16 13:48:46 +02:00
..
2007-10-14 12:41:52 -07:00
2007-10-12 14:51:01 -07:00
2007-10-16 11:24:44 +02:00
2007-10-14 12:41:52 -07:00
2007-10-14 08:53:33 -07:00
2007-10-16 12:29:34 +02:00
2007-10-11 20:40:47 +10:00
2007-10-15 13:41:39 -07:00
2007-10-10 21:15:29 -07:00
2007-10-12 15:49:37 -07:00
2007-10-10 16:55:50 -07:00
2007-10-12 14:51:02 -07:00
2007-10-14 12:41:52 -07:00
2007-10-15 08:19:33 -07:00
2007-10-14 12:41:51 -07:00
2007-10-12 14:51:12 -07:00
2007-10-15 08:12:00 -07:00
2007-10-15 13:41:39 -07:00
2007-10-15 16:08:50 -07:00
2007-10-16 11:21:00 +02:00
2007-10-12 14:51:01 -07:00
2007-10-16 11:20:59 +02:00
2007-10-15 16:08:50 -07:00
2007-10-15 12:52:20 -07:00
2007-10-15 17:00:19 +02:00
2007-10-15 18:53:57 +01:00
2007-10-12 21:27:47 -04:00
2007-10-16 13:48:46 +02:00
2007-10-14 12:41:52 -07:00
2007-10-16 11:20:59 +02:00
2007-10-15 13:54:40 -07:00
2007-10-16 11:24:45 +02:00
2007-10-15 12:55:20 -07:00
2007-10-15 16:08:50 -07:00
2007-10-15 09:07:58 -07:00
2007-10-15 16:08:50 -07:00
2007-10-12 14:51:01 -07:00
2007-10-16 11:21:00 +02:00
2007-10-16 11:24:44 +02:00
2007-10-15 16:08:50 -07:00
2007-10-12 14:51:01 -07:00
2007-10-14 08:53:33 -07:00
2007-10-16 11:20:59 +02:00
2007-10-15 16:08:50 -07:00
2007-10-12 14:51:01 -07:00
2007-10-10 16:51:36 -07:00
2007-10-10 16:51:36 -07:00