aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/file-item.c
diff options
context:
space:
mode:
authorChris Mason <chris.mason@oracle.com>2007-06-12 07:50:13 -0400
committerDavid Woodhouse <dwmw2@hera.kernel.org>2007-06-12 07:50:13 -0400
commit5af3981c1878b0657b9babd2ef7ec98c2008cf2c (patch)
tree084068ff090eab1a8235c6bdd9f49563a51675a6 /fs/btrfs/file-item.c
parent84f54cfa78c81991e087309a9b379f25f1ffdb10 (diff)
Btrfs: printk fixes
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'fs/btrfs/file-item.c')
-rw-r--r--fs/btrfs/file-item.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/fs/btrfs/file-item.c b/fs/btrfs/file-item.c
index fb8c214160c1..d5a98827e38a 100644
--- a/fs/btrfs/file-item.c
+++ b/fs/btrfs/file-item.c
@@ -28,10 +28,6 @@ int btrfs_insert_file_extent(struct btrfs_trans_handle *trans,
28 28
29 ret = btrfs_insert_empty_item(trans, root, path, &file_key, 29 ret = btrfs_insert_empty_item(trans, root, path, &file_key,
30 sizeof(*item)); 30 sizeof(*item));
31 if (ret) {
32printk("failed to insert %Lu %Lu ret %d\n", objectid, pos, ret);
33btrfs_print_leaf(root, btrfs_buffer_leaf(path->nodes[0]));
34 }
35 BUG_ON(ret); 31 BUG_ON(ret);
36 item = btrfs_item_ptr(btrfs_buffer_leaf(path->nodes[0]), path->slots[0], 32 item = btrfs_item_ptr(btrfs_buffer_leaf(path->nodes[0]), path->slots[0],
37 struct btrfs_file_extent_item); 33 struct btrfs_file_extent_item);
@@ -201,7 +197,6 @@ insert:
201 ret = btrfs_insert_empty_item(trans, root, path, &file_key, 197 ret = btrfs_insert_empty_item(trans, root, path, &file_key,
202 BTRFS_CRC32_SIZE); 198 BTRFS_CRC32_SIZE);
203 if (ret != 0) { 199 if (ret != 0) {
204 printk("at insert for %Lu %u %Lu ret is %d\n", file_key.objectid, file_key.flags, file_key.offset, ret);
205 WARN_ON(1); 200 WARN_ON(1);
206 goto fail; 201 goto fail;
207 } 202 }