diff options
author | David Chinner <dgc@sgi.com> | 2007-05-24 15:21:57 +1000 |
---|---|---|
committer | Tim Shimmin <tes@chook.melbourne.sgi.com> | 2007-07-14 15:23:23 +1000 |
commit | 511105b3d7c2440ee84fc3f90d200569aac88162 (patch) | |
tree | cca4cec4d200931a7f7d3e9701c1d651d1208255 /fs/ext4 | |
parent | ca165b88927e41ad18908d7b37f08ef81eae0bf8 (diff) | |
download | kernel-crypto-511105b3d7c2440ee84fc3f90d200569aac88162.tar.gz kernel-crypto-511105b3d7c2440ee84fc3f90d200569aac88162.tar.xz kernel-crypto-511105b3d7c2440ee84fc3f90d200569aac88162.zip |
[XFS] Fix vmalloc leak on mount/unmount.
When setting the length of the iclogbuf to write out we should just be
changing the desired byte count rather completely reassociating the buffer
memory with the buffer. Reassociating the buffer memory changes the
apparent length of the buffer and hence when we free the buffer, we don't
free all the vmap()d space we originally allocated.
SGI-PV: 964983
SGI-Modid: xfs-linux-melb:xfs-kern:28640a
Signed-off-by: David Chinner <dgc@sgi.com>
Signed-off-by: Christoph Hellwig <hch@infradead.org>
Signed-off-by: Tim Shimmin <tes@sgi.com>
Diffstat (limited to 'fs/ext4')
0 files changed, 0 insertions, 0 deletions