Skip to contentSkip to conversation

+ procfs-remove-extra-call-of-dir_emit_dots.patch added to -mm tree

PATCH [email protected] 1 participant 1 message Jul 30, 2013 Proc filesystem

lore
Share & tools
lore
#0 lore raw

Subject: + procfs-remove-extra-call-of-dir_emit_dots.patch added to -mm tree
To: [email protected],[email protected],[email protected],[email protected]
From: [email protected]
Date: Tue, 30 Jul 2013 15:36:57 -0700

The patch titled
Subject: procfs: remove extra call of dir_emit_dots
has been added to the -mm tree. Its filename is
procfs-remove-extra-call-of-dir_emit_dots.patch

This patch should soon appear at
http://ozlabs.org/~akpm/mmots/broken-out/procfs-remove-extra-call-of-dir_emit_dots.patch
and later at
http://ozlabs.org/~akpm/mmotm/broken-out/procfs-remove-extra-call-of-dir_emit_dots.patch

Before you just go and hit "reply", please:
a) Consider who else should be cc'ed
b) Prefer to cc a suitable mailing list as well
c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's

*** Remember to use Documentation/SubmitChecklist when testing your code ***

The -mm tree is included into linux-next and is updated there every 3-4 working days

------------------------------------------------------
From: Andrey Vagin <[email protected]>
Subject: procfs: remove extra call of dir_emit_dots

dir_emit_dots() is called twice. Looks like a typo.

Cc Al Viro <[email protected]>
Cc Cyrill Gorcunov <[email protected]>
Cc Pavel Emelyanov <[email protected]>

---

 fs/proc/fd.c |    2 --
 1 file changed, 2 deletions(-)
fs/proc/fd.c renamed from fs/proc/fd.c~procfs-remove-extra-call-of-dir_emit_dots +0 -2
diff -puN fs/proc/fd.c~procfs-remove-extra-call-of-dir_emit_dots fs/proc/fd.c
@@ -230,8 +230,6 @@ static int proc_readfd_common(struct fil
 
 	if (!dir_emit_dots(file, ctx))
 		goto out;
-	if (!dir_emit_dots(file, ctx))
-		goto out;
 	files = get_files_struct(p);
 	if (!files)
 		goto out;

_

Patches currently in -mm which might be from [email protected] are

move-exit_task_namespaces-outside-of-exit_notify-fix.patch procfs-remove-extra-call-of-dir_emit_dots.patch