diff options
author | Filipe Manana <fdmanana@suse.com> | 2020-11-23 21:30:54 +0300 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2020-11-23 23:16:40 +0300 |
commit | 7aa6d359845a9dbf7ad90b0b1b6347ef4764621f (patch) | |
tree | e34bbb885dfb58867e84da5e6ba1171660b250b7 /scripts/bpf_helpers_doc.py | |
parent | 3d05cad3c357a2b749912914356072b38435edfa (diff) | |
download | linux-7aa6d359845a9dbf7ad90b0b1b6347ef4764621f.tar.xz |
btrfs: do nofs allocations when adding and removing qgroup relations
When adding or removing a qgroup relation we are doing a GFP_KERNEL
allocation which is not safe because we are holding a transaction
handle open and that can make us deadlock if the allocator needs to
recurse into the filesystem. So just surround those calls with a
nofs context.
Signed-off-by: Filipe Manana <fdmanana@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'scripts/bpf_helpers_doc.py')
0 files changed, 0 insertions, 0 deletions