From: Filipe David Borba Manana Date: Sun, 4 Aug 2013 18:58:57 +0000 (+0100) Subject: Btrfs: fix inode leak on kmalloc failure in tree-log.c X-Git-Tag: v3.12-rc1~40^2~72 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2bac325ea8f117636e6601e66a67d2df58974610;p=pandora-kernel.git 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 Signed-off-by: Josef Bacik Signed-off-by: Chris Mason --- Reading git-diff-tree failed