Rework btrfs_drop_inode to avoid scheduling
Signed-off-by: Chris Mason <chris.mason@oracle.com>
This commit is contained in:
parent
61295eb866
commit
cee36a03e8
6 changed files with 44 additions and 10 deletions
|
|
@ -639,6 +639,7 @@ struct btrfs_root *open_ctree(struct super_block *sb)
|
|||
INIT_LIST_HEAD(&fs_info->hashers);
|
||||
spin_lock_init(&fs_info->hash_lock);
|
||||
spin_lock_init(&fs_info->delalloc_lock);
|
||||
spin_lock_init(&fs_info->new_trans_lock);
|
||||
|
||||
memset(&fs_info->super_kobj, 0, sizeof(fs_info->super_kobj));
|
||||
init_completion(&fs_info->kobj_unregister);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue