From: Qianfeng Rong Date: Sun, 3 Aug 2025 10:22:40 +0000 (+0800) Subject: fscrypt: Remove redundant __GFP_NOWARN X-Git-Tag: v6.18-rc1~221^2~1 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=0e6608d4938eb209616e8673c95364bb2a7d55bd;p=thirdparty%2Flinux.git fscrypt: Remove redundant __GFP_NOWARN GFP_NOWAIT already includes __GFP_NOWARN, so let's remove the redundant __GFP_NOWARN. Signed-off-by: Qianfeng Rong Link: https://lore.kernel.org/r/20250803102243.623705-3-rongqianfeng@vivo.com Signed-off-by: Eric Biggers --- diff --git a/fs/crypto/bio.c b/fs/crypto/bio.c index 486fcb2ecf13e..e92967e20e2ab 100644 --- a/fs/crypto/bio.c +++ b/fs/crypto/bio.c @@ -148,7 +148,7 @@ int fscrypt_zeroout_range(const struct inode *inode, pgoff_t lblk, */ for (i = 0; i < nr_pages; i++) { pages[i] = fscrypt_alloc_bounce_page(i == 0 ? GFP_NOFS : - GFP_NOWAIT | __GFP_NOWARN); + GFP_NOWAIT); if (!pages[i]) break; }