Skip to contentSkip to conversation

autofs: drop wrong comment

PATCH New [email protected] 1 participant 1 message Sep 8, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 105/126 autofs: drop wrong comment

From: Tomohiro Kusumi <[email protected]>
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().

---

 fs/autofs4/dev-ioctl.c |    5 -----
 1 file changed, 5 deletions(-)
fs/autofs4/dev-ioctl.c renamed from fs/autofs4/dev-ioctl.c~autofs-drop-wrong-comment +0 -4
diff -puN fs/autofs4/dev-ioctl.c~autofs-drop-wrong-comment 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.
-		 */