[PATCH] tmp
From: Lorenzo Stoakes (ARM)
Date: Mon Nov 16 2026 - 09:33:12 EST
---
fs/proc/task_mmu.c | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/fs/proc/task_mmu.c b/fs/proc/task_mmu.c
index 22361607020d..564e52f7ddc6 100644
--- a/fs/proc/task_mmu.c
+++ b/fs/proc/task_mmu.c
@@ -216,16 +216,17 @@ static struct vm_area_struct *proc_get_vma(struct seq_file *m, loff_t *ppos)
retry:
vma = get_next_vma(priv, *ppos);
- /* EINTR of EAGAIN is possible */
+ /* Store previous position to be able to restart if needed */
+ priv->last_pos = *ppos;
if (IS_ERR(vma)) {
if (PTR_ERR(vma) == -EAGAIN && fallback_to_mmap_lock(priv, *ppos))
goto retry;
+ /* Advance to avoid spurious buggy seq warning in dmesg */
+ (*ppos)++;
return vma;
}
- /* Store previous position to be able to restart if needed */
- priv->last_pos = *ppos;
if (vma) {
/*
* Track the end of the reported vma to ensure position changes
--
2.56.0