Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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@pluto.themaw.net
Signed-off-by: Tomohiro Kusumi <tkusumi@tuxera.com>
Signed-off-by: Ian Kent <raven@themaw.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

authored by

Tomohiro Kusumi and committed by
Linus Torvalds
7ed1da84 718b303b

-5
-5
fs/autofs4/dev-ioctl.c
··· 258 258 if (err) 259 259 goto out; 260 260 261 - /* 262 - * Find autofs super block that has the device number 263 - * corresponding to the autofs fs we want to open. 264 - */ 265 - 266 261 filp = dentry_open(&path, O_RDONLY, current_cred()); 267 262 path_put(&path); 268 263 if (IS_ERR(filp)) {