* [folded-merged] procfs-do-not-list-tid-0-in-proc-pid-task-fix.patch removed from -mm tree
@ 2021-11-09 2:11 akpm
0 siblings, 0 replies; only message in thread
From: akpm @ 2021-11-09 2:11 UTC (permalink / raw)
To: akpm, fweimer, mm-commits
The patch titled
Subject: procfs-do-not-list-tid-0-in-proc-pid-task-fix
has been removed from the -mm tree. Its filename was
procfs-do-not-list-tid-0-in-proc-pid-task-fix.patch
This patch was dropped because it was folded into procfs-do-not-list-tid-0-in-proc-pid-task.patch
------------------------------------------------------
From: Andrew Morton <akpm@linux-foundation.org>
Subject: procfs-do-not-list-tid-0-in-proc-pid-task-fix
coding style tweaks
Cc: Florian Weimer <fweimer@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---
fs/proc/base.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
--- a/fs/proc/base.c~procfs-do-not-list-tid-0-in-proc-pid-task-fix
+++ a/fs/proc/base.c
@@ -3799,10 +3799,10 @@ static int proc_task_readdir(struct file
task = next_tid(task), ctx->pos++) {
char name[10 + 1];
unsigned int len;
+
tid = task_pid_nr_ns(task, ns);
if (!tid)
- /* The task has just exited. */
- continue;
+ continue; /* The task has just exited. */
len = snprintf(name, sizeof(name), "%u", tid);
if (!proc_fill_cache(file, ctx, name, len,
proc_task_instantiate, task, NULL)) {
_
Patches currently in -mm which might be from akpm@linux-foundation.org are
procfs-do-not-list-tid-0-in-proc-pid-task.patch
delay-replace-kernelh-with-the-necessary-inclusions-fix.patch
delay-replace-kernelh-with-the-necessary-inclusions-fix-2-fix.patch
generic-radix-tree-replace-kernelh-with-the-necessary-inclusions-fix.patch
ipc-check-checkpoint_restore_ns_capable-to-modify-c-r-proc-files-fix.patch
kasan-test-use-underlying-string-helpers-checkpatch-fixes.patch
mm-bdi-initialize-bdi_min_ratio-when-bdi-unregister-fix.patch
mm.patch
mm-mempolicy-convert-from-atomic_t-to-refcount_t-on-mempolicy-refcnt-fix.patch
revert-acct_reclaim_writeback-for-next.patch
mm-filemap-check-if-thp-has-hwpoisoned-subpage-for-pmd-page-fault-vs-folios.patch
mm-page_ownerc-modify-the-type-of-argument-order-in-some-functions-fix.patch
kernel-forkc-export-kernel_thread-to-modules.patch
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-11-09 2:11 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-09 2:11 [folded-merged] procfs-do-not-list-tid-0-in-proc-pid-task-fix.patch removed from -mm tree akpm
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.