Btrfs: early fsync support

Signed-off-by: Chris Mason <chris.mason@oracle.com>
This commit is contained in:
Chris Mason
2007-04-19 21:01:03 -04:00
committed by David Woodhouse
parent 7e38180e20
commit 8fd17795b2
7 changed files with 62 additions and 5 deletions

View File

@@ -100,7 +100,6 @@ int btrfs_del_root(struct btrfs_trans_handle *trans, struct btrfs_root *root,
BUG_ON(refs == 0);
if (refs == 1) {
ret = btrfs_del_item(trans, root, path);
printk("deleting root %Lu %Lu %u\n", key->objectid, key->offset, key->flags);
} else {
btrfs_set_root_refs(ri, refs - 1);
printk("ref now %u root %Lu %Lu %u\n", refs -1, key->objectid, key->offset, key->flags);