btrfs-progs: kerncompat: disconnect assert and warning messages
authorDavid Sterba <dsterba@suse.com>
Tue, 24 Jan 2017 15:02:44 +0000 (16:02 +0100)
committerDavid Sterba <dsterba@suse.com>
Wed, 25 Jan 2017 08:48:23 +0000 (09:48 +0100)
commitbc2d4ccc46e2807964c74ce805fb6405ca2bc842
tree8201c7b0cc8c4c0914f70c0a444ff60952226e5c
parenteb6e3d6518c314d32e5263f823284ad05e1c46de
btrfs-progs: kerncompat: disconnect assert and warning messages

The assertion and warn/bug have reversed condition checks, using the
same helpers drops the exact value, so we'll print the message directly
without the helpers.

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