aboutsummaryrefslogtreecommitdiff
path: root/fs/jbd/commit.c
diff options
context:
space:
mode:
authorDavid Woodhouse <[email protected]>2010-05-02 11:21:21 +0300
committerGreg Kroah-Hartman <[email protected]>2010-05-21 09:37:28 -0700
commitdd336c554d8926c3348a2d5f2a5ef5597f6d1a06 (patch)
tree457178c0d3189d6c3e02922aca36e528f4fc50a9 /fs/jbd/commit.c
parentcdc6e3d3968052cebb2f2ddcd742bff29fbd1a90 (diff)
firmware_class: fix memory leak - free allocated pages
fix memory leak introduced by the patch 6e03a201bbe: firmware: speed up request_firmware() 1. vfree won't release pages there were allocated explicitly and mapped using vmap. The memory has to be vunmap-ed and the pages needs to be freed explicitly 2. page array is moved into the 'struct firmware' so that we can free it from release_firmware() and not only in fw_dev_release() The fix doesn't break the firmware load speed. Cc: Johannes Berg <[email protected]> Cc: Ming Lei <[email protected]> Cc: Catalin Marinas <[email protected]> Singed-off-by: Kay Sievers <[email protected]> Signed-off-by: David Woodhouse <[email protected]> Signed-off-by: Tomas Winkler <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'fs/jbd/commit.c')
0 files changed, 0 insertions, 0 deletions