patch-2.4.19 linux-2.4.19/fs/hpfs/hpfs_fn.h
Next file: linux-2.4.19/fs/hpfs/super.c
Previous file: linux-2.4.19/fs/hpfs/ea.c
Back to the patch index
Back to the overall index
-  Lines: 14
-  Date:
Fri Aug  2 17:39:45 2002
-  Orig file: 
linux-2.4.18/fs/hpfs/hpfs_fn.h
-  Orig date: 
Fri Feb  9 11:29:44 2001
diff -urN linux-2.4.18/fs/hpfs/hpfs_fn.h linux-2.4.19/fs/hpfs/hpfs_fn.h
@@ -156,9 +156,11 @@
 
 extern inline void copy_de(struct hpfs_dirent *dst, struct hpfs_dirent *src)
 {
-	int a = dst->down;
-	int n = dst->not_8x3;
+	int a;
+	int n;
 	if (!dst || !src) return;
+	a = dst->down;
+	n = dst->not_8x3;
 	memcpy((char *)dst + 2, (char *)src + 2, 28);
 	dst->down = a;
 	dst->not_8x3 = n;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)