patch-2.4.0-test9 linux/fs/lockd/clntlock.c
Next file: linux/fs/lockd/clntproc.c
Previous file: linux/fs/inode.c
Back to the patch index
Back to the overall index
- Lines: 16
- Date:
Fri Sep 22 14:21:18 2000
- Orig file:
v2.4.0-test8/linux/fs/lockd/clntlock.c
- Orig date:
Thu Jun 29 14:06:47 2000
diff -u --recursive --new-file v2.4.0-test8/linux/fs/lockd/clntlock.c linux/fs/lockd/clntlock.c
@@ -168,6 +168,7 @@
* reclaim is in progress */
lock_kernel();
lockd_up();
+ down(&file_lock_sem);
/* First, reclaim all locks that have been granted previously. */
restart:
@@ -185,6 +186,7 @@
}
tmp = tmp->next;
}
+ up(&file_lock_sem);
host->h_reclaiming = 0;
wake_up(&host->h_gracewait);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)