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)
committerDavid Sterba <dsterba@suse.com>
Tue, 26 Jul 2016 11:52:25 +0000 (13:52 +0200)
commitf49070957ffed84feb7944550f7edd53672b5201
tree3940871f4eec0f48ac52a78e4d12aac15742c2cc
parent39581a3a1af7e03af41dde62a6485a934deb109b
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>
fs/btrfs/relocation.c