Btrfs: drop the inode map tree
[linux-2.6-block.git] / fs / btrfs / inode-item.c
index b276a3b40a66431fa84adaadec8a8b75969640bf..c3b990b661c2717ebb27ca9b97c6af8e2b5518ab 100644 (file)
@@ -22,6 +22,8 @@ int btrfs_insert_inode(struct btrfs_trans_handle *trans, struct btrfs_root
                                sizeof(*inode_item));
        btrfs_release_path(root, path);
        btrfs_free_path(path);
+       if (ret == 0 && objectid > root->highest_inode)
+               root->highest_inode = objectid;
        return ret;
 }