diff options
| author | Theodore Ts'o <tytso@mit.edu> | 2014-09-01 14:38:09 -0400 |
|---|---|---|
| committer | Theodore Ts'o <tytso@mit.edu> | 2014-09-01 14:38:09 -0400 |
| commit | 523f431ccfffd3022e80e13befb9594f54b5607e (patch) | |
| tree | 3b704629bbb71af9e114f6510d7565e7fd805896 /scripts/patch-kernel | |
| parent | ext4: drop EXT4_EX_NOFREE_ON_ERR from rest of extents handling code (diff) | |
| download | linux-523f431ccfffd3022e80e13befb9594f54b5607e.tar.gz linux-523f431ccfffd3022e80e13befb9594f54b5607e.zip | |
ext4: call ext4_ext_drop_refs() from ext4_ext_find_extent()
In nearly all of the calls to ext4_ext_find_extent() where the caller
is trying to recycle the path object, ext4_ext_drop_refs() gets called
to release the buffer heads before the path object gets overwritten.
To simplify things for the callers, and to avoid the possibility of a
memory leak, make ext4_ext_find_extent() responsible for dropping the
buffers.
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions
