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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Subject: + procfs-remove-extra-call-of-dir_emit_dots.patch added to -mm tree
To: avagin@xxxxxxxxxx,gorcunov@xxxxxxxxxx,viro@xxxxxxxxxxxxxxxxxx,xemul@xxxxxxxxxxxxx
From: akpm@xxxxxxxxxxxxxxxxxxxx
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 <avagin@xxxxxxxxxx>
Subject: procfs: remove extra call of dir_emit_dots

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

Signed-off-by: Andrey Vagin <avagin@xxxxxxxxxx>
Cc: Al Viro <viro@xxxxxxxxxxxxxxxxxx>
Cc: Cyrill Gorcunov <gorcunov@xxxxxxxxxx>
Cc: Pavel Emelyanov <xemul@xxxxxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 fs/proc/fd.c |    2 --
 1 file changed, 2 deletions(-)

diff -puN fs/proc/fd.c~procfs-remove-extra-call-of-dir_emit_dots fs/proc/fd.c
--- a/fs/proc/fd.c~procfs-remove-extra-call-of-dir_emit_dots
+++ a/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 avagin@xxxxxxxxxx are

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

--
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux