projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Btrfs: Use a chunk of the key flags to record the item type.
[linux-2.6-block.git]
/
fs
/
btrfs
/
root-tree.c
diff --git
a/fs/btrfs/root-tree.c
b/fs/btrfs/root-tree.c
index 03aa7c2c6336928a11e39662872a41059771e6a9..a24b472740374b80a9c484ea66fa7efd7f1f3a92 100644
(file)
--- a/
fs/btrfs/root-tree.c
+++ b/
fs/btrfs/root-tree.c
@@
-27,7
+27,7
@@
int btrfs_find_last_root(struct btrfs_root *root, u64 objectid,
l = &path.nodes[0]->leaf;
BUG_ON(path.slots[0] == 0);
slot = path.slots[0] - 1;
- if (btrfs_key_objectid(&l->items[slot].key) != objectid) {
+ if (btrfs_
disk_
key_objectid(&l->items[slot].key) != objectid) {
ret = 1;
goto out;
}