patch-1.3.21 linux/fs/nfs/inode.c

Next file: linux/fs/proc/net.c
Previous file: linux/fs/msdos/namei.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.20/linux/fs/nfs/inode.c linux/fs/nfs/inode.c
@@ -143,6 +143,7 @@
 	if (data->addr.sin_addr.s_addr == INADDR_ANY) {  /* No address passed */
 	  if (((struct sockaddr_in *)(&server->toaddr))->sin_addr.s_addr == INADDR_ANY) {
 	    printk("NFS: Error passed unconnected socket and no address\n") ;
+	    MOD_DEC_USE_COUNT;
 	    return NULL ;
 	  } else {
 	    /* Need access to socket internals  JSP */

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