delayed-inode.c (3cae210fa529d69cb25c2a3c491f29dab687b245) | delayed-inode.c (c1c9ff7c94e83fae89a742df74db51156869bad5) |
---|---|
1/* 2 * Copyright (C) 2011 Fujitsu. All rights reserved. 3 * Written by Miao Xie <miaox@cn.fujitsu.com> 4 * 5 * This program is free software; you can redistribute it and/or 6 * modify it under the terms of the GNU General Public 7 * License v2 as published by the Free Software Foundation. 8 * --- 1460 unchanged lines hidden (view full) --- 1469 1470 1471 mutex_lock(&delayed_node->mutex); 1472 ret = __btrfs_add_delayed_insertion_item(delayed_node, delayed_item); 1473 if (unlikely(ret)) { 1474 printk(KERN_ERR "err add delayed dir index item(name: %s) into " 1475 "the insertion tree of the delayed node" 1476 "(root id: %llu, inode id: %llu, errno: %d)\n", | 1/* 2 * Copyright (C) 2011 Fujitsu. All rights reserved. 3 * Written by Miao Xie <miaox@cn.fujitsu.com> 4 * 5 * This program is free software; you can redistribute it and/or 6 * modify it under the terms of the GNU General Public 7 * License v2 as published by the Free Software Foundation. 8 * --- 1460 unchanged lines hidden (view full) --- 1469 1470 1471 mutex_lock(&delayed_node->mutex); 1472 ret = __btrfs_add_delayed_insertion_item(delayed_node, delayed_item); 1473 if (unlikely(ret)) { 1474 printk(KERN_ERR "err add delayed dir index item(name: %s) into " 1475 "the insertion tree of the delayed node" 1476 "(root id: %llu, inode id: %llu, errno: %d)\n", |
1477 name, 1478 (unsigned long long)delayed_node->root->objectid, 1479 (unsigned long long)delayed_node->inode_id, 1480 ret); | 1477 name, delayed_node->root->objectid, 1478 delayed_node->inode_id, ret); |
1481 BUG(); 1482 } 1483 mutex_unlock(&delayed_node->mutex); 1484 1485release_node: 1486 btrfs_release_delayed_node(delayed_node); 1487 return ret; 1488} --- 54 unchanged lines hidden (view full) --- 1543 BUG_ON(ret); 1544 1545 mutex_lock(&node->mutex); 1546 ret = __btrfs_add_delayed_deletion_item(node, item); 1547 if (unlikely(ret)) { 1548 printk(KERN_ERR "err add delayed dir index item(index: %llu) " 1549 "into the deletion tree of the delayed node" 1550 "(root id: %llu, inode id: %llu, errno: %d)\n", | 1479 BUG(); 1480 } 1481 mutex_unlock(&delayed_node->mutex); 1482 1483release_node: 1484 btrfs_release_delayed_node(delayed_node); 1485 return ret; 1486} --- 54 unchanged lines hidden (view full) --- 1541 BUG_ON(ret); 1542 1543 mutex_lock(&node->mutex); 1544 ret = __btrfs_add_delayed_deletion_item(node, item); 1545 if (unlikely(ret)) { 1546 printk(KERN_ERR "err add delayed dir index item(index: %llu) " 1547 "into the deletion tree of the delayed node" 1548 "(root id: %llu, inode id: %llu, errno: %d)\n", |
1551 (unsigned long long)index, 1552 (unsigned long long)node->root->objectid, 1553 (unsigned long long)node->inode_id, | 1549 index, node->root->objectid, node->inode_id, |
1554 ret); 1555 BUG(); 1556 } 1557 mutex_unlock(&node->mutex); 1558end: 1559 btrfs_release_delayed_node(node); 1560 return ret; 1561} --- 361 unchanged lines hidden --- | 1550 ret); 1551 BUG(); 1552 } 1553 mutex_unlock(&node->mutex); 1554end: 1555 btrfs_release_delayed_node(node); 1556 return ret; 1557} --- 361 unchanged lines hidden --- |