patch-1.3.44 linux/fs/proc/fd.c

Next file: linux/include/asm-alpha/io.h
Previous file: linux/fs/pipe.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.43/linux/fs/proc/fd.c linux/fs/proc/fd.c
@@ -50,7 +50,7 @@
 	NULL			/* permission */
 };
 
-static int proc_lookupfd(struct inode * dir,const char * name, int len,
+static int proc_lookupfd(struct inode * dir, const char * name, int len,
 	struct inode ** result)
 {
 	unsigned int ino, pid, fd, c;
@@ -167,7 +167,7 @@
 		if (filldir(dirent, buf+j, NUMBUF-j, fd+2, ino) < 0)
 			break;
 
-		/* filldir() migth have slept, so we must re-validate "p" */
+		/* filldir() might have slept, so we must re-validate "p" */
 		if (p != task[task_nr] || p->pid != pid)
 			break;
 	}

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this