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

Configure Feed

Select the types of activity you want to include in your feed.

loop: remove redundant __GFP_NOWARN flag

GFP_NOWAIT already includes __GFP_NOWARN, so let's remove the
redundant __GFP_NOWARN.

Signed-off-by: Pedro Demarchi Gomes <pedrodemargomes@gmail.com>
Reviewed-by: Yu Kuai <yukuai3@huawei.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>

authored by

Pedro Demarchi Gomes and committed by
Jens Axboe
455281c0 506aa235

+1 -1
+1 -1
drivers/block/loop.c
··· 824 824 if (worker) 825 825 goto queue_work; 826 826 827 - worker = kzalloc(sizeof(struct loop_worker), GFP_NOWAIT | __GFP_NOWARN); 827 + worker = kzalloc(sizeof(struct loop_worker), GFP_NOWAIT); 828 828 /* 829 829 * In the event we cannot allocate a worker, just queue on the 830 830 * rootcg worker and issue the I/O as the rootcg