OSDN Git Service
(root)
/
uclinux-h8
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2f375ab
)
Btrfs: Fix delalloc account on state deletion
author
Chris Mason
<chris.mason@oracle.com>
Fri, 1 Feb 2008 20:42:15 +0000
(15:42 -0500)
committer
Chris Mason
<chris.mason@oracle.com>
Thu, 25 Sep 2008 15:04:00 +0000
(11:04 -0400)
Signed-off-by: Chris Mason <chris.mason@oracle.com>
fs/btrfs/extent_io.c
patch
|
blob
|
history
diff --git
a/fs/btrfs/extent_io.c
b/fs/btrfs/extent_io.c
index
5f2fbf2
..
5d2fb52
100644
(file)
--- a/
fs/btrfs/extent_io.c
+++ b/
fs/btrfs/extent_io.c
@@
-396,6
+396,7
@@
static int clear_state_bit(struct extent_io_tree *tree,
wake_up(&state->wq);
if (delete || state->state == 0) {
if (state->tree) {
+ clear_state_cb(tree, state, state->state);
if (tree->last == state)
tree->last = NULL;
rb_erase(&state->rb_node, &tree->state);