Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 127447
b: refs/heads/master
c: 9fee490
h: refs/heads/master
i:
  127445: 4b2b08e
  127443: 5cefefc
  127439: 2bd4ae5
v: v3
  • Loading branch information
Chuck Lever authored and J. Bruce Fields committed Jan 6, 2009
1 parent 6f24093 commit 88b4455
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 29ed1407ed81086b778ebf12145b048ac3f7e10e
refs/heads/master: 9fee49024ed19d849413df4ab6ec1a1a60aaae94
8 changes: 4 additions & 4 deletions trunk/fs/lockd/mon.c
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ nsm_monitor(struct nlm_host *host)
struct nsm_res res;
int status;

dprintk("lockd: nsm_monitor(%s)\n", host->h_name);
dprintk("lockd: nsm_monitor(%s)\n", nsm->sm_name);
BUG_ON(nsm == NULL);

if (nsm->sm_monitored)
Expand All @@ -94,7 +94,7 @@ nsm_monitor(struct nlm_host *host)
status = nsm_mon_unmon(nsm, SM_MON, &res);

if (status < 0 || res.status != 0)
printk(KERN_NOTICE "lockd: cannot monitor %s\n", host->h_name);
printk(KERN_NOTICE "lockd: cannot monitor %s\n", nsm->sm_name);
else
nsm->sm_monitored = 1;
return status;
Expand All @@ -116,12 +116,12 @@ nsm_unmonitor(struct nlm_host *host)

if (atomic_read(&nsm->sm_count) == 1
&& nsm->sm_monitored && !nsm->sm_sticky) {
dprintk("lockd: nsm_unmonitor(%s)\n", host->h_name);
dprintk("lockd: nsm_unmonitor(%s)\n", nsm->sm_name);

status = nsm_mon_unmon(nsm, SM_UNMON, &res);
if (status < 0)
printk(KERN_NOTICE "lockd: cannot unmonitor %s\n",
host->h_name);
nsm->sm_name);
else
nsm->sm_monitored = 0;
}
Expand Down

0 comments on commit 88b4455

Please sign in to comment.