root-tree.c (171170c1c5625cab9687ecf6714e09e0c8a6ed3c) root-tree.c (c1c9ff7c94e83fae89a742df74db51156869bad5)
1/*
2 * Copyright (C) 2007 Oracle. 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,

--- 141 unchanged lines hidden (view full) ---

150 if (ret < 0) {
151 btrfs_abort_transaction(trans, root, ret);
152 goto out;
153 }
154
155 if (ret != 0) {
156 btrfs_print_leaf(root, path->nodes[0]);
157 printk(KERN_CRIT "unable to update root key %llu %u %llu\n",
1/*
2 * Copyright (C) 2007 Oracle. 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,

--- 141 unchanged lines hidden (view full) ---

150 if (ret < 0) {
151 btrfs_abort_transaction(trans, root, ret);
152 goto out;
153 }
154
155 if (ret != 0) {
156 btrfs_print_leaf(root, path->nodes[0]);
157 printk(KERN_CRIT "unable to update root key %llu %u %llu\n",
158 (unsigned long long)key->objectid, key->type,
159 (unsigned long long)key->offset);
158 key->objectid, key->type, key->offset);
160 BUG_ON(1);
161 }
162
163 l = path->nodes[0];
164 slot = path->slots[0];
165 ptr = btrfs_item_ptr_offset(l, slot);
166 old_len = btrfs_item_size_nr(l, slot);
167

--- 347 unchanged lines hidden ---
159 BUG_ON(1);
160 }
161
162 l = path->nodes[0];
163 slot = path->slots[0];
164 ptr = btrfs_item_ptr_offset(l, slot);
165 old_len = btrfs_item_size_nr(l, slot);
166

--- 347 unchanged lines hidden ---