patch-1.3.40 linux/fs/exec.c

Next file: linux/fs/msdos/dir.c
Previous file: linux/drivers/sound/soundcard.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.39/linux/fs/exec.c linux/fs/exec.c
@@ -82,7 +82,8 @@
 			return -EBUSY;
 		tmp = &(*tmp)->next;
 	}
-	*tmp = fmt;
+	fmt->next = formats;
+	formats = fmt;
 	return 0;	
 }
 

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