Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1712611 > unrolled thread
| Started by | Ian Kent <raven@themaw.net> |
|---|---|
| First post | 2017-08-16 04:40 +0200 |
| Last post | 2017-08-16 04:40 +0200 |
| Articles | 1 — 1 participant |
Back to article view | Back to linux.kernel
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
[PATCH 4/5] autofs: drop wrong comment Ian Kent <raven@themaw.net> - 2017-08-16 04:40 +0200
| From | Ian Kent <raven@themaw.net> |
|---|---|
| Date | 2017-08-16 04:40 +0200 |
| Subject | [PATCH 4/5] autofs: drop wrong comment |
| Message-ID | <ueWps-1dC-17@gated-at.bofh.it> |
From: Tomohiro Kusumi <tkusumi@tuxera.com>
This comment was correct when it was added in 8d7b48e0 in 2008,
but not after 4e44b685 in 2009 which introduced find_autofs_mount().
Signed-off-by: Tomohiro Kusumi <tkusumi@tuxera.com>
Signed-off-by: Ian Kent <raven@themaw.net>
---
fs/autofs4/dev-ioctl.c | 5 -----
1 file changed, 5 deletions(-)
diff --git a/fs/autofs4/dev-ioctl.c b/fs/autofs4/dev-ioctl.c
index b8b66d55266d..a990c9d0f893 100644
--- 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)) {
Back to top | Article view | linux.kernel
csiph-web