ctree.c (35a3621beb3e2face3e7954eaee20a8fa0043fac) ctree.c (c1c9ff7c94e83fae89a742df74db51156869bad5)
1/*
2 * Copyright (C) 2007,2008 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,

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

1378 struct extent_buffer *parent, int parent_slot,
1379 struct extent_buffer **cow_ret)
1380{
1381 u64 search_start;
1382 int ret;
1383
1384 if (trans->transaction != root->fs_info->running_transaction)
1385 WARN(1, KERN_CRIT "trans %llu running %llu\n",
1/*
2 * Copyright (C) 2007,2008 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,

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

1378 struct extent_buffer *parent, int parent_slot,
1379 struct extent_buffer **cow_ret)
1380{
1381 u64 search_start;
1382 int ret;
1383
1384 if (trans->transaction != root->fs_info->running_transaction)
1385 WARN(1, KERN_CRIT "trans %llu running %llu\n",
1386 (unsigned long long)trans->transid,
1387 (unsigned long long)
1386 trans->transid,
1388 root->fs_info->running_transaction->transid);
1389
1390 if (trans->transid != root->fs_info->generation)
1391 WARN(1, KERN_CRIT "trans %llu running %llu\n",
1387 root->fs_info->running_transaction->transid);
1388
1389 if (trans->transid != root->fs_info->generation)
1390 WARN(1, KERN_CRIT "trans %llu running %llu\n",
1392 (unsigned long long)trans->transid,
1393 (unsigned long long)root->fs_info->generation);
1391 trans->transid, root->fs_info->generation);
1394
1395 if (!should_cow_block(trans, root, buf)) {
1396 *cow_ret = buf;
1397 return 0;
1398 }
1399
1400 search_start = buf->start & ~((u64)(1024 * 1024 * 1024) - 1);
1401

--- 4245 unchanged lines hidden ---
1392
1393 if (!should_cow_block(trans, root, buf)) {
1394 *cow_ret = buf;
1395 return 0;
1396 }
1397
1398 search_start = buf->start & ~((u64)(1024 * 1024 * 1024) - 1);
1399

--- 4245 unchanged lines hidden ---