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: drop the inode map tree
[linux-2.6-block.git]
/
fs
/
btrfs
/
inode-item.c
diff --git
a/fs/btrfs/inode-item.c
b/fs/btrfs/inode-item.c
index b276a3b40a66431fa84adaadec8a8b75969640bf..c3b990b661c2717ebb27ca9b97c6af8e2b5518ab 100644
(file)
--- a/
fs/btrfs/inode-item.c
+++ b/
fs/btrfs/inode-item.c
@@
-22,6
+22,8
@@
int btrfs_insert_inode(struct btrfs_trans_handle *trans, struct btrfs_root
sizeof(*inode_item));
btrfs_release_path(root, path);
btrfs_free_path(path);
+ if (ret == 0 && objectid > root->highest_inode)
+ root->highest_inode = objectid;
return ret;
}