summaryrefslogtreecommitdiff
path: root/drivers/md/raid0.h
diff options
context:
space:
mode:
authorAndre Noll <maan@systemlinux.org>2009-06-16 16:48:19 +1000
committerNeilBrown <neilb@suse.de>2009-06-16 16:48:19 +1000
commitfb5ab4b5d6e16fd5006c9f800d0116f3547cb760 (patch)
tree0094240e6c361d4e48e67103391dd29895eb5e68 /drivers/md/raid0.h
parented7b00380d957ec770b5e90380d012c6062c13cc (diff)
md: raid0: Fix a memory leak when stopping a raid0 array.
raid0_stop() removes all references to the raid0 configuration but misses to free the ->devlist buffer. This patch closes this leak, removes a pointless initialization and fixes a coding style issue in raid0_stop(). Signed-off-by: Andre Noll <maan@systemlinux.org> Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'drivers/md/raid0.h')
0 files changed, 0 insertions, 0 deletions