diff options
author | Lu Fengqi <lufq.fnst@cn.fujitsu.com> | 2017-11-03 16:28:04 +0800 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2017-11-14 15:59:01 +0100 |
commit | faaf70f1cc7ade1d6d5a41a900a3b58cc4bd5f58 (patch) | |
tree | 8b12dc64a14d6850c0ac883eb7173be17b9e4c01 | |
parent | 752f42d2c044b3ff47391bef81395bd1a2245eb8 (diff) |
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 <lufq.fnst@cn.fujitsu.com>
Signed-off-by: David Sterba <dsterba@suse.com>
-rw-r--r-- | cmds-check.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/cmds-check.c b/cmds-check.c index a6198bad..5750bb72 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); } } |