aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/gcc-plugins/structleak_plugin.c
diff options
context:
space:
mode:
authorChristoph Hellwig <[email protected]>2021-02-24 07:24:07 +0000
committerJens Axboe <[email protected]>2021-02-24 15:55:00 +0000
commit47dc096ac183f465ffb03e86a203a38661695d72 (patch)
treec9759e70a15f502b69a046a7853a2264d6d5cfbb /scripts/gcc-plugins/structleak_plugin.c
parentblock: remove the gfp_mask argument to bounce_clone_bio (diff)
downloadkernel-47dc096ac183f465ffb03e86a203a38661695d72.tar.gz
kernel-47dc096ac183f465ffb03e86a203a38661695d72.zip
block: memory allocations in bounce_clone_bio must not fail
The caller can't cope with a failure from bounce_clone_bio, so use __GFP_NOFAIL for the passthrough case. bio_alloc_bioset already won't fail due to the use of mempools. And yes, we need to get rid of this bock layer bouncing code entirely sooner or later.. Signed-off-by: Christoph Hellwig <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/structleak_plugin.c')
0 files changed, 0 insertions, 0 deletions