send.c (f959492fc15b60d874a9cbf55ae4760f2ef261ed) | send.c (351fd3532159441e810d458a5b681090ff8449fd) |
---|---|
1/* 2 * Copyright (C) 2012 Alexander Block. All rights reserved. 3 * 4 * This program is free software; you can redistribute it and/or 5 * modify it under the terms of the GNU General Public 6 * License v2 as published by the Free Software Foundation. 7 * 8 * This program is distributed in the hope that it will be useful, --- 1335 unchanged lines hidden (view full) --- 1344 if (ret < 0) 1345 goto out; 1346 1347 if (!backref_ctx->found_itself) { 1348 /* found a bug in backref code? */ 1349 ret = -EIO; 1350 btrfs_err(sctx->send_root->fs_info, "did not find backref in " 1351 "send_root. inode=%llu, offset=%llu, " | 1/* 2 * Copyright (C) 2012 Alexander Block. All rights reserved. 3 * 4 * This program is free software; you can redistribute it and/or 5 * modify it under the terms of the GNU General Public 6 * License v2 as published by the Free Software Foundation. 7 * 8 * This program is distributed in the hope that it will be useful, --- 1335 unchanged lines hidden (view full) --- 1344 if (ret < 0) 1345 goto out; 1346 1347 if (!backref_ctx->found_itself) { 1348 /* found a bug in backref code? */ 1349 ret = -EIO; 1350 btrfs_err(sctx->send_root->fs_info, "did not find backref in " 1351 "send_root. inode=%llu, offset=%llu, " |
1352 "disk_byte=%llu found extent=%llu\n", | 1352 "disk_byte=%llu found extent=%llu", |
1353 ino, data_offset, disk_byte, found_key.objectid); 1354 goto out; 1355 } 1356 1357verbose_printk(KERN_DEBUG "btrfs: find_extent_clone: data_offset=%llu, " 1358 "ino=%llu, " 1359 "num_bytes=%llu, logical=%llu\n", 1360 data_offset, ino, num_bytes, logical); --- 4106 unchanged lines hidden (view full) --- 5467 spin_lock(&root->root_item_lock); 5468 root->send_in_progress--; 5469 /* 5470 * Not much left to do, we don't know why it's unbalanced and 5471 * can't blindly reset it to 0. 5472 */ 5473 if (root->send_in_progress < 0) 5474 btrfs_err(root->fs_info, | 1353 ino, data_offset, disk_byte, found_key.objectid); 1354 goto out; 1355 } 1356 1357verbose_printk(KERN_DEBUG "btrfs: find_extent_clone: data_offset=%llu, " 1358 "ino=%llu, " 1359 "num_bytes=%llu, logical=%llu\n", 1360 data_offset, ino, num_bytes, logical); --- 4106 unchanged lines hidden (view full) --- 5467 spin_lock(&root->root_item_lock); 5468 root->send_in_progress--; 5469 /* 5470 * Not much left to do, we don't know why it's unbalanced and 5471 * can't blindly reset it to 0. 5472 */ 5473 if (root->send_in_progress < 0) 5474 btrfs_err(root->fs_info, |
5475 "send_in_progres unbalanced %d root %llu\n", | 5475 "send_in_progres unbalanced %d root %llu", |
5476 root->send_in_progress, root->root_key.objectid); 5477 spin_unlock(&root->root_item_lock); 5478} 5479 5480long btrfs_ioctl_send(struct file *mnt_file, void __user *arg_) 5481{ 5482 int ret = 0; 5483 struct btrfs_root *send_root; --- 288 unchanged lines hidden --- | 5476 root->send_in_progress, root->root_key.objectid); 5477 spin_unlock(&root->root_item_lock); 5478} 5479 5480long btrfs_ioctl_send(struct file *mnt_file, void __user *arg_) 5481{ 5482 int ret = 0; 5483 struct btrfs_root *send_root; --- 288 unchanged lines hidden --- |