summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/ctree.h
diff options
context:
space:
mode:
authorYan, Zheng <zheng.yan@oracle.com>2010-05-16 10:46:25 -0400
committerChris Mason <chris.mason@oracle.com>2010-05-25 10:34:48 -0400
commit424499dbd0c4d88742bf581b5714b27fb44b9fef (patch)
treef46a76c8f23c7045b18b31a9206d0b22f324aad1 /fs/btrfs/ctree.h
parentb742bb82f1676d50103ade0ba89bfb79debabe73 (diff)
downloadop-kernel-dev-424499dbd0c4d88742bf581b5714b27fb44b9fef.zip
op-kernel-dev-424499dbd0c4d88742bf581b5714b27fb44b9fef.tar.gz
Btrfs: Kill allocate_wait in space_info
We already have fs_info->chunk_mutex to avoid concurrent chunk creation. Signed-off-by: Yan Zheng <zheng.yan@oracle.com> Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'fs/btrfs/ctree.h')
-rw-r--r--fs/btrfs/ctree.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/btrfs/ctree.h b/fs/btrfs/ctree.h
index 6132088..a68f346 100644
--- a/fs/btrfs/ctree.h
+++ b/fs/btrfs/ctree.h
@@ -701,9 +701,7 @@ struct btrfs_space_info {
struct list_head list;
/* for controlling how we free up space for allocations */
- wait_queue_head_t allocate_wait;
wait_queue_head_t flush_wait;
- int allocating_chunk;
int flushing;
/* for block groups in our same type */
OpenPOWER on IntegriCloud