]> 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@thirteen.furryterror.org>
Thu, 28 Jul 2016 02:20:25 +0000 (22:20 -0400)
commitc05996a55c2f51d3a99d6ee97b12c8f020e9b56f
treec42830d83bc3cd8b7bcdc143e6ce3c2391c7f8d2
parentcf661f774d90bab97fb7dc6a31b1523e1ca2f29c
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