projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3768f36
)
Btrfs: properly reset block cache on free
author
Chris Mason
<chris.mason@oracle.com>
Wed, 14 Mar 2007 13:20:39 +0000
(09:20 -0400)
committer
David Woodhouse
<dwmw2@hera.kernel.org>
Wed, 14 Mar 2007 13:20:39 +0000
(09:20 -0400)
Signed-off-by: Chris Mason <chris.mason@oracle.com>
fs/btrfs/extent-tree.c
patch
|
blob
|
history
diff --git
a/fs/btrfs/extent-tree.c
b/fs/btrfs/extent-tree.c
index 21f39b40469785f0be48a2a3771053e86eab3395..7f156d9b7089f505deb688a1ffeb4ff77fe22108 100644
(file)
--- a/
fs/btrfs/extent-tree.c
+++ b/
fs/btrfs/extent-tree.c
@@
-182,7
+182,7
@@
static int __free_extent(struct btrfs_root *root, u64 blocknr, u64 num_blocks)
}
ret = btrfs_del_item(extent_root, &path);
if (root != extent_root &&
- extent_root->last_insert.objectid
<
blocknr)
+ extent_root->last_insert.objectid
>
blocknr)
extent_root->last_insert.objectid = blocknr;
if (ret)
BUG();