diff options
author | Ed Cashin <ecashin@coraid.com> | 2012-12-17 16:03:58 -0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-01-17 08:46:23 -0800 |
commit | a21ebdce6d1ba32a8a514b66115753eac5f75a41 (patch) | |
tree | 7f1cf913aa0bac0579046a4b5ac3602a2a63c6b0 /fs/udf | |
parent | 4a2113ba833fdc4d1800ad9c7fafaad23bfb4b54 (diff) |
aoe: remove vestigial request queue allocation
commit 0a41409c518083133e79015092585d68915865be upstream.
Before the aoe driver was an I/O request handler, it was a
make_request-style block driver. Even so, there was a problem where
sysfs expected a request queue to exist, so one was provided in commit
7135a71b19be ("aoe: allocate unused request_queue for sysfs").
During the transition to the request-handler style, a patch was merged
that was based on a driver without the noop queue, and the noop queue
remained in place after the patch was merged, even though a new
functional queue was introduced by the patch, allocated through
blk_init_queue.
The user impact is a memory leak proportional to the number of AoE
targets discovered. This patch removes the memory leak and cleans up
vestiges of the old do-nothing queue from the aoeblk_gdalloc function.
Signed-off-by: Ed Cashin <ecashin@coraid.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'fs/udf')
0 files changed, 0 insertions, 0 deletions