patch-2.3.99-pre4 linux/net/khttpd/waitheaders.c

Next file: linux/net/netlink/af_netlink.c
Previous file: linux/net/khttpd/sockets.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.99-pre3/linux/net/khttpd/waitheaders.c linux/net/khttpd/waitheaders.c
@@ -239,7 +239,6 @@
 		return 0;
 	}
 	else
-	if ((Request->filp->f_dentry!=NULL)&&(Request->filp->f_dentry->d_inode!=NULL))
 	{
 		Request->FileLength = (int)Request->filp->f_dentry->d_inode->i_size;
 		Request->Time       = Request->filp->f_dentry->d_inode->i_mtime;
@@ -262,12 +261,6 @@
 		}
 		
 	
-	} else 
-	{
-		/* Ehhh... */
-		
-		printk(KERN_CRIT "kHTTPd: Unexpected filesystem response\n");
-		return -1;	
 	}
 	
 	LeaveFunction("DecodeHeader");

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)