file-item.c (facc8a2247340a9735fe8cc123c5da2102f5ef1b) file-item.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,

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

243 if (BTRFS_I(inode)->root->root_key.objectid ==
244 BTRFS_DATA_RELOC_TREE_OBJECTID) {
245 set_extent_bits(io_tree, offset,
246 offset + bvec->bv_len - 1,
247 EXTENT_NODATASUM, GFP_NOFS);
248 } else {
249 printk(KERN_INFO "btrfs no csum found "
250 "for inode %llu start %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,

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

243 if (BTRFS_I(inode)->root->root_key.objectid ==
244 BTRFS_DATA_RELOC_TREE_OBJECTID) {
245 set_extent_bits(io_tree, offset,
246 offset + bvec->bv_len - 1,
247 EXTENT_NODATASUM, GFP_NOFS);
248 } else {
249 printk(KERN_INFO "btrfs no csum found "
250 "for inode %llu start %llu\n",
251 (unsigned long long)
252 btrfs_ino(inode),
253 (unsigned long long)offset);
251 btrfs_ino(inode), offset);
254 }
255 item = NULL;
256 btrfs_release_path(path);
257 goto found;
258 }
259 btrfs_item_key_to_cpu(path->nodes[0], &found_key,
260 path->slots[0]);
261

--- 626 unchanged lines hidden ---
252 }
253 item = NULL;
254 btrfs_release_path(path);
255 goto found;
256 }
257 btrfs_item_key_to_cpu(path->nodes[0], &found_key,
258 path->slots[0]);
259

--- 626 unchanged lines hidden ---