path: root/cmds-restore.c
diff options
authorZach Brown <>2014-08-27 11:16:03 -0700
committerDavid Sterba <>2014-09-14 13:19:44 +0200
commit977f2baf363b59d4263d870b292975e2b791cd07 (patch)
tree1af5eeb97359b8a0bd6a8d8238ae5e038fba3c19 /cmds-restore.c
parentcf8599c33803932b73e00a54785103030a37a4ee (diff)
btrfs-progs: kill BUG_ON in readahead_tree_block()
David sent a quick patch that removed a BUG_ON(). I took a peek and found that the function was already leaking an eb ref and only returned 0. So this fixes the leak and makes the function void and fixes up the callers. Accidentally-motivated-by: David Sterba <> Signed-off-by: Zach Brown <> Signed-off-by: David Sterba <>
Diffstat (limited to 'cmds-restore.c')
0 files changed, 0 insertions, 0 deletions