summaryrefslogtreecommitdiffstats
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)
downloadtalos-obmc-linux-5af3981c1878b0657b9babd2ef7ec98c2008cf2c.tar.gz
talos-obmc-linux-5af3981c1878b0657b9babd2ef7ec98c2008cf2c.zip
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,
ret = btrfs_insert_empty_item(trans, root, path, &file_key,
sizeof(*item));
- if (ret) {
-printk("failed to insert %Lu %Lu ret %d\n", objectid, pos, ret);
-btrfs_print_leaf(root, btrfs_buffer_leaf(path->nodes[0]));
- }
BUG_ON(ret);
item = btrfs_item_ptr(btrfs_buffer_leaf(path->nodes[0]), path->slots[0],
struct btrfs_file_extent_item);
@@ -201,7 +197,6 @@ insert:
ret = btrfs_insert_empty_item(trans, root, path, &file_key,
BTRFS_CRC32_SIZE);
if (ret != 0) {
- printk("at insert for %Lu %u %Lu ret is %d\n", file_key.objectid, file_key.flags, file_key.offset, ret);
WARN_ON(1);
goto fail;
}
OpenPOWER on IntegriCloud