projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
585a3d0
)
btrfs: teach print_leaf about temporary item subtypes
author
David Sterba
<dsterba@suse.com>
Mon, 25 Jan 2016 17:44:13 +0000
(18:44 +0100)
committer
David Sterba
<dsterba@suse.com>
Thu, 11 Feb 2016 15:15:43 +0000
(16:15 +0100)
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/print-tree.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/btrfs/print-tree.c
b/fs/btrfs/print-tree.c
index 7bd0bdfc9812234762e6249b305d6bbc9d06f830..147dc6ca5de1f789cd0f9ef080303961b04f75d4 100644
(file)
--- a/
fs/btrfs/print-tree.c
+++ b/
fs/btrfs/print-tree.c
@@
-306,6
+306,17
@@
void btrfs_print_leaf(struct btrfs_root *root, struct extent_buffer *l)
printk(KERN_INFO "\t\tunknown persistent item\n");
}
break;
+ case BTRFS_TEMPORARY_ITEM_KEY:
+ printk(KERN_INFO "\t\ttemporary item objectid %llu offset %llu\n",
+ key.objectid, key.offset);
+ switch (key.objectid) {
+ case BTRFS_BALANCE_OBJECTID:
+ printk(KERN_INFO "\t\tbalance status\n");
+ break;
+ default:
+ printk(KERN_INFO "\t\tunknown temporary item\n");
+ }
+ break;
case BTRFS_DEV_REPLACE_KEY:
printk(KERN_INFO "\t\tdev replace\n");
break;