]> pere.pagekite.me Git - homepage.git/blob - linux/linux-nfs-wp8-nolock.diff
Switched blog to hungry.com for now. Updated all links.
[homepage.git] / linux / linux-nfs-wp8-nolock.diff
1 --- linux-2.2.5/fs/lockd/clntproc.c-prepere Wed Apr 21 23:11:24 1999
2 +++ linux-2.2.5/fs/lockd/clntproc.c Thu Apr 22 14:29:09 1999
3 @@ -322,6 +322,10 @@
4 {
5 int status;
6
7 + /* There is never a conflicting lock - try to get WP8 running [pere 1999-04-21] */
8 + fl->fl_type = F_UNLCK;
9 + return 0;
10 +
11 if ((status = nlmclnt_call(req, NLMPROC_TEST)) < 0)
12 return status;
13
14 @@ -368,6 +372,9 @@
15 struct nlm_host *host = req->a_host;
16 struct nlm_res *resp = &req->a_res;
17 int status;
18 +
19 + /* All locking succeds to get WP8 running [pere 1999-04-22] */
20 + return 0;
21
22 if (!host->h_monitored && nsm_monitor(host) < 0) {
23 printk(KERN_NOTICE "lockd: failed to monitor %s\n",