]> git.baikalelectronics.ru Git - kernel.git/commit
Btrfs: free nce and nce_head on error in name_cache_insert
authorAlexander Block <ablock84@googlemail.com>
Wed, 1 Aug 2012 10:07:43 +0000 (12:07 +0200)
committerChris Mason <chris.mason@fusionio.com>
Mon, 1 Oct 2012 19:18:56 +0000 (15:18 -0400)
commit6321cddc8876cea94722e2e6a829b08b98ccb193
tree667aabdf4a246bd45de00b7d2ca298732d11f3c3
parente0c066a8dbaa5d975182989eef65442da5cbf14b
Btrfs: free nce and nce_head on error in name_cache_insert

Both were leaked in case of error.

Reported-by: Alex Lyakas <alex.bolshoy.btrfs@gmail.com>
Signed-off-by: Alexander Block <ablock84@googlemail.com>
fs/btrfs/send.c