commit | 2bac325ea8f117636e6601e66a67d2df58974610 | [log] [tgz] |
---|---|---|
author | Filipe David Borba Manana <fdmanana@gmail.com> | Sun Aug 04 19:58:57 2013 +0100 |
committer | Chris Mason <chris.mason@fusionio.com> | Sun Sep 01 08:04:53 2013 -0400 |
tree | b1dea569df4e30a89fe6b95b1adc2c26ade2f4f3 | |
parent | 116e0024c453dfdfacc9278f485dabc9c63a4ac4 [diff] |
Btrfs: fix inode leak on kmalloc failure in tree-log.c In tree-log.c:replay_one_name(), if memory allocation for the name fails, ensure we iput the dir inode we got before before we return. Signed-off-by: Filipe David Borba Manana <fdmanana@gmail.com> Signed-off-by: Josef Bacik <jbacik@fusionio.com> Signed-off-by: Chris Mason <chris.mason@fusionio.com>