aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/disk-io.c
diff options
context:
space:
mode:
authorChris Mason <chris.mason@oracle.com>2008-08-04 23:17:27 -0400
committerChris Mason <chris.mason@oracle.com>2008-09-25 11:04:06 -0400
commitea8c281947950fac5f78818b767821d696c9512a (patch)
treea30e9da5371d9a694a8f73d450231107ccad1dcb /fs/btrfs/disk-io.c
parentd7a029a89ef370e74b63f18b81498d90d1ee3cc1 (diff)
Btrfs: Maintain a list of inodes that are delalloc and a way to wait on them
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'fs/btrfs/disk-io.c')
-rw-r--r--fs/btrfs/disk-io.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/btrfs/disk-io.c b/fs/btrfs/disk-io.c
index da9dda4338a3..76543683f3b9 100644
--- a/fs/btrfs/disk-io.c
+++ b/fs/btrfs/disk-io.c
@@ -1234,6 +1234,7 @@ struct btrfs_root *open_ctree(struct super_block *sb,
1234 INIT_LIST_HEAD(&fs_info->trans_list); 1234 INIT_LIST_HEAD(&fs_info->trans_list);
1235 INIT_LIST_HEAD(&fs_info->dead_roots); 1235 INIT_LIST_HEAD(&fs_info->dead_roots);
1236 INIT_LIST_HEAD(&fs_info->hashers); 1236 INIT_LIST_HEAD(&fs_info->hashers);
1237 INIT_LIST_HEAD(&fs_info->delalloc_inodes);
1237 spin_lock_init(&fs_info->hash_lock); 1238 spin_lock_init(&fs_info->hash_lock);
1238 spin_lock_init(&fs_info->delalloc_lock); 1239 spin_lock_init(&fs_info->delalloc_lock);
1239 spin_lock_init(&fs_info->new_trans_lock); 1240 spin_lock_init(&fs_info->new_trans_lock);