diff options
| author | Filipe Manana <[email protected]> | 2018-12-13 21:16:45 +0000 |
|---|---|---|
| committer | David Sterba <[email protected]> | 2019-02-25 14:13:16 +0100 |
| commit | b89f6d1fcb30a8cbdc18ce00c7d93792076af453 (patch) | |
| tree | cd77dcfc9257febe72cdea9e76fd9cd6a0825979 /scripts/objdiff | |
| parent | eee995775444b50a74ac479ee98ff88e6df1b01b (diff) | |
Btrfs: setup a nofs context for memory allocation at btrfs_create_tree()
We are holding a transaction handle when creating a tree, therefore we can
not allocate the root using GFP_KERNEL, as we could deadlock if reclaim is
triggered by the allocation, therefore setup a nofs context.
Fixes: 74e4d82757f74 ("btrfs: let callers of btrfs_alloc_root pass gfp flags")
CC: [email protected] # 4.9+
Reviewed-by: Nikolay Borisov <[email protected]>
Signed-off-by: Filipe Manana <[email protected]>
Reviewed-by: David Sterba <[email protected]>
Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'scripts/objdiff')
0 files changed, 0 insertions, 0 deletions