btrfs-progs: Change BUG() to use assert.
authorMitch Harder <mitch.harder@sabayonlinux.org>
Fri, 7 Feb 2014 15:21:00 +0000 (09:21 -0600)
committerChris Mason <clm@fb.com>
Fri, 21 Mar 2014 13:23:11 +0000 (06:23 -0700)
commite7839bced72b27bddefe3dbc8ffbcd640edae509
tree4bb76ff86bea0852e5f5ceb17850fc4140c856f1
parent206efb60cbe3049e0d44c6da3c1909aeee18f813
btrfs-progs: Change BUG() to use assert.

Change the definition of BUG() to use assert instead of abort to
provide information about the location of the issue.

Signed-off-by: Mitch Harder <mitch.harder@sabayonlinux.org>
Signed-off-by: David Sterba <dsterba@suse.cz>
Signed-off-by: Chris Mason <clm@fb.com>
kerncompat.h