summaryrefslogtreecommitdiff
path: root/fs/btrfs/free-space-cache.c
diff options
context:
space:
mode:
authorForrest Liu <forrestl@synology.com>2015-02-09 09:31:45 (GMT)
committerChris Mason <clm@fb.com>2015-04-29 20:22:09 (GMT)
commit5d2361db48899789fb466ff62db5d5fc7b070e86 (patch)
treeccc1158ccc22b0ba31a44ec20f11e08682995ca1 /fs/btrfs/free-space-cache.c
parent6e17d30bfaf43e04d991392d8484f1c556810c33 (diff)
downloadlinux-5d2361db48899789fb466ff62db5d5fc7b070e86.tar.xz
Btrfs: btrfs_release_extent_buffer_page didn't free pages of dummy extent
btrfs_release_extent_buffer_page() can't handle dummy extent that allocated by btrfs_clone_extent_buffer() properly. That is because reference count of pages that allocated by btrfs_clone_extent_buffer() was 2, 1 by alloc_page(), and another by attach_extent_buffer_page(). Running following command repeatly can check this memory leak problem btrfs inspect-internal inode-resolve 256 /mnt/btrfs Signed-off-by: Chien-Kuan Yeh <ckya@synology.com> Signed-off-by: Forrest Liu <forrestl@synology.com> Reviewed-by: Filipe Manana <fdmanana@suse.com> Tested-by: Filipe Manana <fdmanana@suse.com> Signed-off-by: Chris Mason <clm@fb.com>
Diffstat (limited to 'fs/btrfs/free-space-cache.c')
0 files changed, 0 insertions, 0 deletions