--- fd.old Thu Nov 13 06:36:41 1997
+++ fd.c Sat Aug 22 16:05:27 1998
@@ -61,11 +61,11 @@
int i;
*result = NULL;
+ if (!dir)
+ return -ENOENT;
ino = dir->i_ino;
pid = ino >> 16;
ino &= 0x0000ffff;
- if (!dir)
- return -ENOENT;
sb = dir->i_sb;
if (!pid || ino != PROC_PID_FD || !S_ISDIR(dir->i_mode)) {
iput(dir);
### End here
Oh, btw I'm not on the list, so if want to get to me (for example telling me that I'm all wrong) than CC.
____________________________________________________________________
Get free e-mail and a permanent address at http://www.netaddress.com/?N=1
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.altern.org/andrebalsa/doc/lkml-faq.html