diff options
author | Chris Mason <chris.mason@oracle.com> | 2008-01-15 08:40:48 -0500 |
---|---|---|
committer | Chris Mason <chris.mason@oracle.com> | 2008-09-25 11:03:59 -0400 |
commit | cee36a03e8f7c6e14aefd497d3acf01bcd3ef153 (patch) | |
tree | 14195245463be27ab4314da6eb943b146e6c8591 /fs/btrfs/disk-io.c | |
parent | 61295eb8665e723e77af91d0a1e655a4bd28344f (diff) |
Rework btrfs_drop_inode to avoid scheduling
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'fs/btrfs/disk-io.c')
-rw-r--r-- | fs/btrfs/disk-io.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/btrfs/disk-io.c b/fs/btrfs/disk-io.c index 87daed632f37..cd29922d4073 100644 --- a/fs/btrfs/disk-io.c +++ b/fs/btrfs/disk-io.c | |||
@@ -639,6 +639,7 @@ struct btrfs_root *open_ctree(struct super_block *sb) | |||
639 | INIT_LIST_HEAD(&fs_info->hashers); | 639 | INIT_LIST_HEAD(&fs_info->hashers); |
640 | spin_lock_init(&fs_info->hash_lock); | 640 | spin_lock_init(&fs_info->hash_lock); |
641 | spin_lock_init(&fs_info->delalloc_lock); | 641 | spin_lock_init(&fs_info->delalloc_lock); |
642 | spin_lock_init(&fs_info->new_trans_lock); | ||
642 | 643 | ||
643 | memset(&fs_info->super_kobj, 0, sizeof(fs_info->super_kobj)); | 644 | memset(&fs_info->super_kobj, 0, sizeof(fs_info->super_kobj)); |
644 | init_completion(&fs_info->kobj_unregister); | 645 | init_completion(&fs_info->kobj_unregister); |