]> git.hungrycats.org Git - linux/commit
Btrfs: change BUG_ON()'s to ASSERT()'s in backref_cache_cleanup()
authorLiu Bo <bo.li.liu@oracle.com>
Tue, 12 Jul 2016 01:52:57 +0000 (18:52 -0700)
committerZygo Blaxell <zblaxell@waya.furryterror.org>
Wed, 17 Aug 2016 02:24:00 +0000 (22:24 -0400)
commitf006a53ecb0339cf7a17acd0048e77ae6507205f
tree61f382f381eccb2ce057cb81b307740f16def596
parent57e8eacc7cf4d797c0a73f39396b0a56ccf2de77
Btrfs: change BUG_ON()'s to ASSERT()'s in backref_cache_cleanup()

Since it is just an in-memory building of the backrefs of several
btree blocks, nothing is fatal other than memory leaks, so this
changes BUG_ON()'s to ASSERT()'s.

Signed-off-by: Liu Bo <bo.li.liu@oracle.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
(cherry picked from commit f49070957ffed84feb7944550f7edd53672b5201)
fs/btrfs/relocation.c