patch-2.1.23 linux/fs/nfs/inode.c
Next file: linux/fs/nfs/nfsroot.c
Previous file: linux/fs/nfs/file.c
Back to the patch index
Back to the overall index
- Lines: 20
- Date:
Sun Jan 26 12:07:44 1997
- Orig file:
v2.1.22/linux/fs/nfs/inode.c
- Orig date:
Wed Jan 15 19:45:43 1997
diff -u --recursive --new-file v2.1.22/linux/fs/nfs/inode.c linux/fs/nfs/inode.c
@@ -335,11 +335,7 @@
{
int ret;
-#ifdef __SMP__
lock_kernel();
- syscall_count++;
-#endif
-
MOD_INC_USE_COUNT;
exit_mm(current);
current->session = 1;
@@ -347,6 +343,7 @@
sprintf(current->comm, "nfsiod");
ret = nfsiod();
MOD_DEC_USE_COUNT;
+ unlock_kernel();
return ret;
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov