btrfs-progs: kerncompat: add separate trace print for BUG_ON
authorDavid Sterba <dsterba@suse.com>
Tue, 24 Jan 2017 12:15:41 +0000 (13:15 +0100)
committerDavid Sterba <dsterba@suse.com>
Wed, 25 Jan 2017 08:48:15 +0000 (09:48 +0100)
commitbe5e0b230cc0a14823e3b7e005bdda40d19d20f2
tree27aceed789411e708fd3d0449d8b3c0e581c53f2
parent5826f1e9ff5d8e3df8d48a09f6b95a4ef4309950
btrfs-progs: kerncompat: add separate trace print for BUG_ON

We want to pass unmodified condition down to the handlers so we can't
use assert_trace for that purpose.

Signed-off-by: David Sterba <dsterba@suse.com>
kerncompat.h