Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ext4: Remove code handling bio_alloc failure with __GFP_WAIT

Remove code handling bio_alloc failure with __GFP_WAIT.
GFP_NOIO implies __GFP_WAIT.

Signed-off-by: Nikanth Karthikesan <knikanth@suse.de>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>

authored by

Nikanth Karthikesan and committed by
Jens Axboe
226e7dab 4d1f9fdb

-2
-2
fs/ext4/extents.c
··· 2416 2416 len = ee_len; 2417 2417 2418 2418 bio = bio_alloc(GFP_NOIO, len); 2419 - if (!bio) 2420 - return -ENOMEM; 2421 2419 bio->bi_sector = ee_pblock; 2422 2420 bio->bi_bdev = inode->i_sb->s_bdev; 2423 2421