diff options
author | Chris Mason <clm@fb.com> | 2017-05-05 01:08:08 +0200 |
---|---|---|
committer | Chris Mason <clm@fb.com> | 2017-05-05 01:56:11 +0200 |
commit | 9bcaaea7418d09691f1ffab5c49aacafe3eef9d0 (patch) | |
tree | de8fb04851d438df09674e02002e28ce8657af76 /fs/ceph/super.h | |
parent | Merge branch 'for-chris-4.12' of git://git.kernel.org/pub/scm/linux/kernel/gi... (diff) | |
download | linux-9bcaaea7418d09691f1ffab5c49aacafe3eef9d0.tar.xz linux-9bcaaea7418d09691f1ffab5c49aacafe3eef9d0.zip |
btrfs: fix the gfp_mask for the reada_zones radix tree
Commits cc8385b59e17 and 7ef70b4d9987a7 added preallocation for the
reada radix trees and also switched them over to GFP_KERNEL for the
default gfp mask.
Since we're doing radix tree insertions under spinlocks, we need
to make sure the mask doesn't allow sleeping. This fix keeps
the radix preallocation but switches back to the original gfp_mask.
Reported-by: Filipe Manana <fdmanana@suse.com>
Signed-off-by: Chris Mason <clm@fb.com>
Diffstat (limited to 'fs/ceph/super.h')
0 files changed, 0 insertions, 0 deletions