patch-2.4.0-test5 linux/include/linux/ncp_fs.h

Next file: linux/include/linux/netfilter_ipv4/ip_nat_core.h
Previous file: linux/include/linux/msdos_fs_sb.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.0-test4/linux/include/linux/ncp_fs.h linux/include/linux/ncp_fs.h
@@ -212,13 +212,13 @@
 static inline void ncp_kfree_s(void *obj, int size)
 {
 	ncp_current_malloced -= 1;
-	kfree_s(obj, size);
+	kfree(obj);
 }
 
 #else				/* DEBUG_NCP_MALLOC */
 
 #define ncp_kmalloc(s,p) kmalloc(s,p)
-#define ncp_kfree_s(o,s) kfree_s(o,s)
+#define ncp_kfree_s(o,s) kfree(o)
 
 #endif				/* DEBUG_NCP_MALLOC */
 

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