patch-2.2.17 linux/drivers/scsi/scsi_error.c
Next file: linux/drivers/scsi/scsi_ioctl.c
Previous file: linux/drivers/scsi/scsi.c
Back to the patch index
Back to the overall index
- Lines: 13
- Date:
Mon Sep 4 18:39:21 2000
- Orig file:
v2.2.16/drivers/scsi/scsi_error.c
- Orig date:
Mon Sep 4 18:37:35 2000
diff -u --recursive --new-file v2.2.16/drivers/scsi/scsi_error.c linux/drivers/scsi/scsi_error.c
@@ -1941,7 +1941,11 @@
current->pgrp = 1;
/* Become as one with the init task */
-
+
+ exit_files(current);
+ current->files = init_task.files;
+ atomic_inc(¤t->files->count);
+
exit_fs(current); /* current->fs->count--; */
fs = init_task.fs;
current->fs = fs;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)