[folded-merged] proc-simpler-iterations-for-proc-cmdline-fix.patch removed from -mm tree

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

 



The patch titled
     Subject: proc-simpler-iterations-for-proc-cmdline-fix
has been removed from the -mm tree.  Its filename was
     proc-simpler-iterations-for-proc-cmdline-fix.patch

This patch was dropped because it was folded into proc-simpler-iterations-for-proc-cmdline.patch

------------------------------------------------------
From: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
Subject: proc-simpler-iterations-for-proc-cmdline-fix

simplify cleanup code

Cc: Alexey Dobriyan <adobriyan@xxxxxxxxx>
Cc: Andy Shevchenko <andy.shevchenko@xxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 fs/proc/base.c |    5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff -puN fs/proc/base.c~proc-simpler-iterations-for-proc-cmdline-fix fs/proc/base.c
--- a/fs/proc/base.c~proc-simpler-iterations-for-proc-cmdline-fix
+++ a/fs/proc/base.c
@@ -347,11 +347,8 @@ static ssize_t proc_pid_cmdline_read(str
 	}
 
 end:
-	free_page((unsigned long)page);
-	mmput(mm);
 	*pos += buf - buf0;
-	return buf - buf0;
-
+	rv = buf - buf0;
 out_free_page:
 	free_page((unsigned long)page);
 out_mmput:
_

Patches currently in -mm which might be from akpm@xxxxxxxxxxxxxxxxxxxx are

proc-simpler-iterations-for-proc-cmdline.patch
revert-autofs-update-fs-autofs4-kconfig-fix.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 Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux