Message ID | 1593363342-19104-1-git-send-email-asmadeus@codewreck.org (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | [btrfs-progs] btrfs-convert, ext2_copy_inodes: print inode number on error | expand |
diff --git a/convert/source-ext2.c b/convert/source-ext2.c index f248249f..ba65c9f9 100644 --- a/convert/source-ext2.c +++ b/convert/source-ext2.c @@ -827,8 +827,11 @@ static int ext2_copy_inodes(struct btrfs_convert_context *cctx, pthread_mutex_lock(&p->mutex); p->cur_copy_inodes++; pthread_mutex_unlock(&p->mutex); - if (ret) + if (ret) { + fprintf(stderr, "ext2_copy_single_inode failed on ino %u: %d\n", + ext2_ino, ret); return ret; + } /* * blocks_used is the number of new tree blocks allocated in * current transaction.