patch-2.1.43 linux/fs/exec.c
Next file: linux/fs/ext2/balloc.c
Previous file: linux/fs/dquot.c
Back to the patch index
Back to the overall index
- Lines: 20
- Date:
Thu Jun 12 16:22:08 1997
- Orig file:
v2.1.42/linux/fs/exec.c
- Orig date:
Thu May 15 16:48:04 1997
diff -u --recursive --new-file v2.1.42/linux/fs/exec.c linux/fs/exec.c
@@ -68,6 +68,10 @@
__initfunc(void binfmt_setup(void))
{
+#ifdef CONFIG_BINFMT_MISC
+ init_misc_binfmt();
+#endif
+
#ifdef CONFIG_BINFMT_ELF
init_elf_binfmt();
#endif
@@ -154,7 +158,7 @@
}
}
current->files->fd[fd] = f;
- inode->i_count++;
+ atomic_inc(&inode->i_count);
}
return fd;
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov