The patch titled Subject: autofs: drop wrong comment has been added to the -mm tree. Its filename is autofs-drop-wrong-comment.patch This patch should soon appear at http://ozlabs.org/~akpm/mmots/broken-out/autofs-drop-wrong-comment.patch and later at http://ozlabs.org/~akpm/mmotm/broken-out/autofs-drop-wrong-comment.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: Tomohiro Kusumi <tkusumi@xxxxxxxxxx> Subject: autofs: drop wrong comment This comment was correct when it was added in 8d7b48e0 ("autofs4: add miscellaneous device for ioctls") in 2008, but not after 4e44b685 "Get rid of path_lookup in autofs4" in 2009 which introduced find_autofs_mount(). Link: http://lkml.kernel.org/r/150285069148.4670.17959501481201077445.stgit@xxxxxxxxxxxxxxxx Signed-off-by: Tomohiro Kusumi <tkusumi@xxxxxxxxxx> Signed-off-by: Ian Kent <raven@xxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- fs/autofs4/dev-ioctl.c | 5 ----- 1 file changed, 5 deletions(-) diff -puN fs/autofs4/dev-ioctl.c~autofs-drop-wrong-comment fs/autofs4/dev-ioctl.c --- a/fs/autofs4/dev-ioctl.c~autofs-drop-wrong-comment +++ a/fs/autofs4/dev-ioctl.c @@ -258,11 +258,6 @@ static int autofs_dev_ioctl_open_mountpo if (err) goto out; - /* - * Find autofs super block that has the device number - * corresponding to the autofs fs we want to open. - */ - filp = dentry_open(&path, O_RDONLY, current_cred()); path_put(&path); if (IS_ERR(filp)) { _ Patches currently in -mm which might be from tkusumi@xxxxxxxxxx are autofs-remove-unused-autofs_ioc_expire_direct-indirect.patch autofs-non-functional-header-inclusion-cleanup.patch autofs-use-autofs_dev_ioctl_size.patch autofs-drop-wrong-comment.patch autofs-use-unsigned-int-long-instead-of-uint-ulong-for-ioctl-args.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