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.

md/raid5: remove redundant __GFP_NOWARN

The __GFP_NOWARN flag was included in GFP_NOWAIT since commit
16f5dfbc851b ("gfp: include __GFP_NOWARN in GFP_NOWAIT"). So
remove the redundant __GFP_NOWARN flag.

Link: https://lore.kernel.org/linux-raid/20251102152540.871568-1-hehuiwen@kylinos.cn
Signed-off-by: Huiwen He <hehuiwen@kylinos.cn>
Reviewed-by: Li Nan <linan122@huawei.com>
Reviewed-by: Xiao Ni <xni@redhat.com>
Signed-off-by: Yu Kuai <yukuai@fnnas.com>

authored by

Huiwen He and committed by
Yu Kuai
a811db39 90e3bb44

+1 -1
+1 -1
drivers/md/raid5-cache.c
··· 3104 3104 goto out_mempool; 3105 3105 3106 3106 spin_lock_init(&log->tree_lock); 3107 - INIT_RADIX_TREE(&log->big_stripe_tree, GFP_NOWAIT | __GFP_NOWARN); 3107 + INIT_RADIX_TREE(&log->big_stripe_tree, GFP_NOWAIT); 3108 3108 3109 3109 thread = md_register_thread(r5l_reclaim_thread, log->rdev->mddev, 3110 3110 "reclaim");