gfs2: Remove code handling bio_alloc failure with __GFP_WAIT
Steven Whitehouse
Acked-byHi,
I could put this in my tree, but I think that Jens is going to push this one to Linus, so I'm holding off,
Steve.
Quoted 24 lines · Nikanth Karthikesan
Remove code handling
bio_allocfailure with__GFP_WAIT.GFP_NOFSimplies__GFP_WAIT.Signed-off-by Nikanth Karthikesan <[email protected]>---
fs/gfs2/ops_fstype.c +0
-5@@ -272,11 +272,6 @@ static int gfs2_read_super(struct gfs2_sbd *sdp, sector_t sector)lock_page (page); bio =bio_alloc (GFP_NOFS ,1 ); -if (unlikely (!bio)) { -__free_page (page); -return -ENOBUFS ; - } - bio->bi_sector = sector * (sb->s_blocksize >>9 ); bio->bi_bdev = sb->s_bdev;bio_add_page (bio, page,PAGE_SIZE ,0 );
Hi,
Quoted 11 lines · Jens Axboe
Quoted 6 lines · Steven Whitehouse
Hi,
I could put this in my tree, but I think that Jens is going to push this one to Linus, so I'm holding off,
Not much point in splitting it up for the trivial bits, unless you want to. I'll add your acked-by.
Yes, I agree. Sounds good to me,
Steve.