From 5ee1956b892a27bc347df3c84ea3fa241567f0cb Mon Sep 17 00:00:00 2001 From: Lu Fengqi Date: Fri, 10 Nov 2017 17:47:10 +0800 Subject: [PATCH] btrfs-progs: lowmem check: Reword an unclear error message about file extent gap This error occurs when no_holes is not set, but there is a gap before the file extent. Signed-off-by: Lu Fengqi Signed-off-by: David Sterba --- cmds-check.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/cmds-check.c b/cmds-check.c index e746ee7b..7fc30da8 100644 --- a/cmds-check.c +++ b/cmds-check.c @@ -5873,8 +5873,9 @@ static int check_file_extent(struct btrfs_root *root, struct btrfs_key *fkey, if (!repair || ret) { err |= FILE_EXTENT_ERROR; error( - "root %llu EXTENT_DATA[%llu %llu] interrupt, should start at %llu", - root->objectid, fkey->objectid, fkey->offset, *end); +"root %llu EXTENT_DATA[%llu %llu] gap exists, expected: EXTENT_DATA[%llu %llu]", + root->objectid, fkey->objectid, fkey->offset, + fkey->objectid, *end); } }