[PATCH 0/4] fs: Remove redundant __GFP_NOWARN

Qianfeng Rong posted 4 patches 2 months ago
fs/bcachefs/btree_cache.c        | 4 ++--
fs/bcachefs/btree_io.c           | 2 +-
fs/bcachefs/btree_iter.h         | 6 +++---
fs/bcachefs/btree_trans_commit.c | 2 +-
fs/bcachefs/fs.c                 | 2 +-
fs/crypto/bio.c                  | 2 +-
fs/ext4/page-io.c                | 2 +-
fs/ext4/super.c                  | 2 +-
fs/fs-writeback.c                | 2 +-
9 files changed, 12 insertions(+), 12 deletions(-)
[PATCH 0/4] fs: Remove redundant __GFP_NOWARN
Posted by Qianfeng Rong 2 months ago
Commit 16f5dfbc851b ("gfp: include __GFP_NOWARN in GFP_NOWAIT")
made GFP_NOWAIT implicitly include __GFP_NOWARN.

Therefore, explicit __GFP_NOWARN combined with GFP_NOWAIT
(e.g., `GFP_NOWAIT | __GFP_NOWARN`) is now redundant. Let's clean
up these redundant flags across subsystems.

No functional changes.

Qianfeng Rong (4):
  bcachefs: Remove redundant __GFP_NOWARN
  fscrypto: Remove redundant __GFP_NOWARN
  ext4: Remove redundant __GFP_NOWARN
  fs-writeback: Remove redundant __GFP_NOWARN

 fs/bcachefs/btree_cache.c        | 4 ++--
 fs/bcachefs/btree_io.c           | 2 +-
 fs/bcachefs/btree_iter.h         | 6 +++---
 fs/bcachefs/btree_trans_commit.c | 2 +-
 fs/bcachefs/fs.c                 | 2 +-
 fs/crypto/bio.c                  | 2 +-
 fs/ext4/page-io.c                | 2 +-
 fs/ext4/super.c                  | 2 +-
 fs/fs-writeback.c                | 2 +-
 9 files changed, 12 insertions(+), 12 deletions(-)

-- 
2.34.1
Re: [PATCH 0/4] fs: Remove redundant __GFP_NOWARN
Posted by Theodore Ts'o 1 month, 3 weeks ago
On Sun, 03 Aug 2025 18:22:38 +0800, Qianfeng Rong wrote:
> Commit 16f5dfbc851b ("gfp: include __GFP_NOWARN in GFP_NOWAIT")
> made GFP_NOWAIT implicitly include __GFP_NOWARN.
> 
> Therefore, explicit __GFP_NOWARN combined with GFP_NOWAIT
> (e.g., `GFP_NOWAIT | __GFP_NOWARN`) is now redundant. Let's clean
> up these redundant flags across subsystems.
> 
> [...]

Applied, thanks!

[3/4] ext4: Remove redundant __GFP_NOWARN
      commit: 4ba97589ed19210ff808929052696f5636139823

Best regards,
-- 
Theodore Ts'o <tytso@mit.edu>