From: Lu Fengqi Date: Fri, 3 Nov 2017 08:28:04 +0000 (+0800) Subject: btrfs-progs: lowmem check: Output more detailed information about file extent interrupt X-Git-Tag: upstream/4.16.1~280 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=faaf70f1cc7ade1d6d5a41a900a3b58cc4bd5f58;p=platform%2Fupstream%2Fbtrfs-progs.git btrfs-progs: lowmem check: Output more detailed information about file extent interrupt Make lowmem mode output more detailed information about file extent interrupt. Signed-off-by: Lu Fengqi Signed-off-by: David Sterba --- diff --git a/cmds-check.c b/cmds-check.c index a6198ba..5750bb7 100644 --- a/cmds-check.c +++ b/cmds-check.c @@ -5867,8 +5867,9 @@ static int check_file_extent(struct btrfs_root *root, struct btrfs_key *fkey, *end, fkey->offset - *end); if (!repair || ret) { err |= FILE_EXTENT_ERROR; - error("root %llu EXTENT_DATA[%llu %llu] interrupt", - root->objectid, fkey->objectid, fkey->offset); + error( + "root %llu EXTENT_DATA[%llu %llu] interrupt, should start at %llu", + root->objectid, fkey->objectid, fkey->offset, *end); } }