patch-2.4.0-test12 linux/fs/file_table.c
Next file: linux/fs/hfs/inode.c
Previous file: linux/fs/file.c
Back to the patch index
Back to the overall index
- Lines: 14
- Date:
Tue Dec 5 10:27:31 2000
- Orig file:
v2.4.0-test11/linux/fs/file_table.c
- Orig date:
Sun Nov 19 18:44:18 2000
diff -u --recursive --new-file v2.4.0-test11/linux/fs/file_table.c linux/fs/file_table.c
@@ -40,13 +40,11 @@
list_del(&f->f_list);
files_stat.nr_free_files--;
new_one:
- file_list_unlock();
memset(f, 0, sizeof(*f));
atomic_set(&f->f_count,1);
f->f_version = ++event;
f->f_uid = current->fsuid;
f->f_gid = current->fsgid;
- file_list_lock();
list_add(&f->f_list, &anon_list);
file_list_unlock();
return f;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)