All of lore.kernel.org
 help / color / mirror / Atom feed
* [folded-merged] mm-shmem-downgrade-final-i_blocks-check-in-shmem_evict_inode-to-pr_warn-fix.patch removed from -mm tree
@ 2026-08-05  1:25 Andrew Morton
  0 siblings, 0 replies; only message in thread
From: Andrew Morton @ 2026-08-05  1:25 UTC (permalink / raw)
  To: mm-commits, liuyongqiang13, hughd, brauner, baolin.wang,
	yujiacheng3, akpm


The quilt patch titled
     Subject: mm-shmem-downgrade-final-i_blocks-check-in-shmem_evict_inode-to-pr_warn-fix
has been removed from the -mm tree.  Its filename was
     mm-shmem-downgrade-final-i_blocks-check-in-shmem_evict_inode-to-pr_warn-fix.patch

This patch was dropped because it was folded into mm-shmem-downgrade-final-i_blocks-check-in-shmem_evict_inode-to-pr_warn.patch

------------------------------------------------------
From: Jiacheng Yu <yujiacheng3@huawei.com>
Subject: mm-shmem-downgrade-final-i_blocks-check-in-shmem_evict_inode-to-pr_warn-fix
Date: Wed, 29 Jul 2026 12:12:00 +0000

drop redundant casts in shmem_evict_inode() pr_warn

blkcnt_t and i_ino are u64, %llu matches both directly, so drop the casts.

Link: https://lore.kernel.org/20260729121201.776566-1-yujiacheng3@huawei.com
Signed-off-by: Jiacheng Yu <yujiacheng3@huawei.com>
Cc: Baolin Wang <baolin.wang@linux.alibaba.com>
Cc: Christian Brauner <brauner@kernel.org>
Cc: Hugh Dickins <hughd@google.com>
Cc: Yongqiang Liu <liuyongqiang13@huawei.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---

 mm/shmem.c |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

--- a/mm/shmem.c~mm-shmem-downgrade-final-i_blocks-check-in-shmem_evict_inode-to-pr_warn-fix
+++ a/mm/shmem.c
@@ -1442,8 +1442,7 @@ static void shmem_evict_inode(struct ino
 	shmem_free_inode(inode->i_sb, freed);
 	if (inode->i_blocks)
 		pr_warn("%s: ino=%llu i_blocks=%llu alloced=%lu swapped=%lu nrpages=%lu\n",
-			__func__, (unsigned long long)inode->i_ino,
-			(unsigned long long)inode->i_blocks,
+			__func__, inode->i_ino, inode->i_blocks,
 			info->alloced, info->swapped, inode->i_mapping->nrpages);
 	clear_inode(inode);
 #ifdef CONFIG_TMPFS_QUOTA
_

Patches currently in -mm which might be from yujiacheng3@huawei.com are

mm-shmem-downgrade-final-i_blocks-check-in-shmem_evict_inode-to-pr_warn.patch


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2026-08-05  1:25 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-08-05  1:25 [folded-merged] mm-shmem-downgrade-final-i_blocks-check-in-shmem_evict_inode-to-pr_warn-fix.patch removed from -mm tree Andrew Morton

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.