btrfs: tests: print file:line for error messages
authorDavid Sterba <dsterba@suse.com>
Fri, 15 Mar 2019 16:03:55 +0000 (17:03 +0100)
committerDavid Sterba <dsterba@suse.com>
Mon, 29 Apr 2019 17:02:25 +0000 (19:02 +0200)
commitefd31fce54f78a172edd7ef61f9661cc614c56b2
treef9a9ea3b7a3b1c70fe6d1a8ef3386d8876544db9
parentd33d105b85d6099e2499c536fb6fbb2dc65ea644
btrfs: tests: print file:line for error messages

For better diagnostics print the file name and line to locate the
errors. Sample output:

[    9.052924] BTRFS: selftest: fs/btrfs/tests/extent-io-tests.c:283 offset bits do not match

Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/tests/btrfs-tests.h