|
@@ -54,7 +54,7 @@ struct nlm_host *nlmclnt_init(const struct nlmclnt_initdata *nlm_init)
|
|
u32 nlm_version = (nlm_init->nfs_version == 2) ? 1 : 4;
|
|
u32 nlm_version = (nlm_init->nfs_version == 2) ? 1 : 4;
|
|
int status;
|
|
int status;
|
|
|
|
|
|
- status = lockd_up(nlm_init->protocol);
|
|
|
|
|
|
+ status = lockd_up();
|
|
if (status < 0)
|
|
if (status < 0)
|
|
return ERR_PTR(status);
|
|
return ERR_PTR(status);
|
|
|
|
|
|
@@ -215,7 +215,7 @@ reclaimer(void *ptr)
|
|
/* This one ensures that our parent doesn't terminate while the
|
|
/* This one ensures that our parent doesn't terminate while the
|
|
* reclaim is in progress */
|
|
* reclaim is in progress */
|
|
lock_kernel();
|
|
lock_kernel();
|
|
- lockd_up(0); /* note: this cannot fail as lockd is already running */
|
|
|
|
|
|
+ lockd_up(); /* note: this cannot fail as lockd is already running */
|
|
|
|
|
|
dprintk("lockd: reclaiming locks for host %s\n", host->h_name);
|
|
dprintk("lockd: reclaiming locks for host %s\n", host->h_name);
|
|
|
|
|