Displaying 2 results from an estimated 2 matches for "btrfs_dir_log_end".
2011 Apr 07
0
[PATCH] btrfs-progs: cast u64 to long long to avoid printf warnings
...75d5..c673dcb 100644
--- a/print-tree.c
+++ b/print-tree.c
@@ -497,7 +497,7 @@ void btrfs_print_leaf(struct btrfs_root *root, struct extent_buffer *l)
case BTRFS_DIR_LOG_ITEM_KEY:
dlog = btrfs_item_ptr(l, i, struct btrfs_dir_log_item);
printf("\t\tdir log end %Lu\n",
- btrfs_dir_log_end(l, dlog));
+ (unsigned long long)btrfs_dir_log_end(l, dlog));
break;
case BTRFS_ORPHAN_ITEM_KEY:
printf("\t\torphan item\n");
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@vger.kernel.org...
2010 Jun 05
0
PULL: Properly cast and avoid compiler warnings, fixes build on alpha and ia64.
...@@ void btrfs_print_leaf(struct btrfs_root *root,
struct extent_buffer *l)
case BTRFS_DIR_LOG_ITEM_KEY:
dlog = btrfs_item_ptr(l, i, struct
btrfs_dir_log_item);
printf("\t\tdir log end %Lu\n",
- - btrfs_dir_log_end(l, dlog));
+ (unsigned long long) btrfs_dir_log_end(l,
dlog));
break;
case BTRFS_ORPHAN_ITEM_KEY:
printf("\t\torphan item\n");
- ---snap---
Regards,
Daniel
- --
Address: Daniel Baumann, B...