diff options
author | Alexander Block <ablock84@googlemail.com> | 2012-11-08 21:27:24 +0000 |
---|---|---|
committer | Josef Bacik <jbacik@fusionio.com> | 2012-12-12 17:15:27 -0500 |
commit | 3ef5969cd8a42a78ccdbc53f7abb2e6136b2ec65 (patch) | |
tree | 2d2cd2af6c4dedcb3809f11c2c3f8fbebbede8be /kernel/futex.c | |
parent | e1f5790e0588bc5b11eb57f95bfde8702049dd0d (diff) |
Btrfs: merge inode_list in __merge_refs
When __merge_refs merges two refs, it is also needed to merge the
inode_list of both refs. Otherwise we have missed backrefs and memory
leaks. This happens for example if two inodes share an extent and
both lie in the same leaf and thus also have the same parent.
Signed-off-by: Alexander Block <ablock84@googlemail.com>
Reviewed-by: Jan Schmidt <list.btrfs@jan-o-sch.net>
Signed-off-by: Chris Mason <chris.mason@fusionio.com>
Diffstat (limited to 'kernel/futex.c')
0 files changed, 0 insertions, 0 deletions