patch-2.1.89 linux/fs/smbfs/sock.c

Next file: linux/fs/stat.c
Previous file: linux/fs/smbfs/proc.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.88/linux/fs/smbfs/sock.c linux/fs/smbfs/sock.c
@@ -10,6 +10,7 @@
 #include <linux/errno.h>
 #include <linux/socket.h>
 #include <linux/fcntl.h>
+#include <linux/file.h>
 #include <linux/in.h>
 #include <linux/net.h>
 #include <linux/mm.h>
@@ -259,7 +260,7 @@
 printk("smb_close_socket: still catching keepalives!\n");
 #endif
 		server->sock_file = NULL;
-		close_fp(file);
+		fput(file);
 	}
 }
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov