projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
718b303
)
autofs: drop wrong comment
author
Tomohiro Kusumi
<
[email protected]
>
Fri, 8 Sep 2017 23:16:43 +0000
(16:16 -0700)
committer
Linus Torvalds
<
[email protected]
>
Sat, 9 Sep 2017 01:26:50 +0000
(18:26 -0700)
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/
[email protected]
Signed-off-by: Tomohiro Kusumi <
[email protected]
>
Signed-off-by: Ian Kent <
[email protected]
>
Signed-off-by: Andrew Morton <
[email protected]
>
Signed-off-by: Linus Torvalds <
[email protected]
>
fs/autofs4/dev-ioctl.c
patch
|
blob
|
history
diff --git
a/fs/autofs4/dev-ioctl.c
b/fs/autofs4/dev-ioctl.c
index b8b66d55266dc1819f85b10aeb088626df30b55a..a990c9d0f893618f3093b706a8bab2b79d8702e6 100644
(file)
--- a/
fs/autofs4/dev-ioctl.c
+++ b/
fs/autofs4/dev-ioctl.c
@@
-258,11
+258,6
@@
static int autofs_dev_ioctl_open_mountpoint(const char *name, dev_t devid)
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)) {