patch-2.4.0-test11 linux/fs/lockd/clntproc.c
Next file: linux/fs/lockd/svclock.c
Previous file: linux/fs/lockd/clntlock.c
Back to the patch index
Back to the overall index
- Lines: 20
- Date:
Tue Nov 7 10:18:57 2000
- Orig file:
v2.4.0-test10/linux/fs/lockd/clntproc.c
- Orig date:
Tue Oct 31 12:42:27 2000
diff -u --recursive --new-file v2.4.0-test10/linux/fs/lockd/clntproc.c linux/fs/lockd/clntproc.c
@@ -407,19 +407,15 @@
static
void nlmclnt_insert_lock_callback(struct file_lock *fl)
{
- lock_kernel();
nlm_get_host(fl->fl_u.nfs_fl.host);
- unlock_kernel();
}
static
void nlmclnt_remove_lock_callback(struct file_lock *fl)
{
- lock_kernel();
if (fl->fl_u.nfs_fl.host) {
nlm_release_host(fl->fl_u.nfs_fl.host);
fl->fl_u.nfs_fl.host = NULL;
}
- unlock_kernel();
}
/*
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)