commit | ae9d12853b44f4e0c06732166e8e3399ec01a680 | [log] [tgz] |
---|---|---|
author | Chris Mason <chris.mason@oracle.com> | Fri Feb 01 15:42:15 2008 -0500 |
committer | Chris Mason <chris.mason@oracle.com> | Thu Sep 25 11:04:00 2008 -0400 |
tree | 69bc778e689f6bf7d8fc4a8ea30cdd5088f9adeb | |
parent | 2f375ab9c55bf22bf77ed9e3082b93e77ea10f55 [diff] [blame] |
Btrfs: Fix delalloc account on state deletion Signed-off-by: Chris Mason <chris.mason@oracle.com>
diff --git a/fs/btrfs/extent_io.c b/fs/btrfs/extent_io.c index 5f2fbf2..5d2fb527 100644 --- a/fs/btrfs/extent_io.c +++ b/fs/btrfs/extent_io.c
@@ -396,6 +396,7 @@ 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);