The patch titled Subject: swapfile: fix name leak in swapoff has been added to the -mm tree. Its filename is swapfile-fix-name-leak-in-swapoff.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: Xiaotian Feng <xtfeng@xxxxxxxxx> Subject: swapfile: fix name leak in swapoff There's a name leak introduced by 91a27b2 ("vfs: define struct filename and have getname() return it"). Add the missing putname. Signed-off-by: Xiaotian Feng <dannyfeng@xxxxxxxxxxx> Reviewed-by: Jeff Layton <jlayton@xxxxxxxxxx> Cc: Al Viro <viro@xxxxxxxxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- mm/swapfile.c | 2 ++ 1 file changed, 2 insertions(+) diff -puN mm/swapfile.c~swapfile-fix-name-leak-in-swapoff mm/swapfile.c --- a/mm/swapfile.c~swapfile-fix-name-leak-in-swapoff +++ a/mm/swapfile.c @@ -1608,6 +1608,8 @@ SYSCALL_DEFINE1(swapoff, const char __us out_dput: filp_close(victim, NULL); out: + if (pathname && !IS_ERR(pathname)) + putname(pathname); return err; } _ Patches currently in -mm which might be from xtfeng@xxxxxxxxx are linux-next.patch swapfile-fix-name-leak-in-swapoff.patch swapfile-fix-name-leak-in-swapoff-fix.patch tasklet-ignore-disabled-tasklet-in-tasklet_action.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