diff options
author | 2020-11-23 18:30:54 +0000 | |
---|---|---|
committer | 2020-11-23 21:16:40 +0100 | |
commit | 7aa6d359845a9dbf7ad90b0b1b6347ef4764621f (patch) | |
tree | e34bbb885dfb58867e84da5e6ba1171660b250b7 /drivers/usb/cdns3/cdns3-imx.c | |
parent | btrfs: fix lockdep splat when reading qgroup config on mount (diff) | |
download | linux-dev-7aa6d359845a9dbf7ad90b0b1b6347ef4764621f.tar.xz linux-dev-7aa6d359845a9dbf7ad90b0b1b6347ef4764621f.zip |
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 'drivers/usb/cdns3/cdns3-imx.c')
0 files changed, 0 insertions, 0 deletions