diff options
-rw-r--r-- | fs/lockd/mon.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/fs/lockd/mon.c b/fs/lockd/mon.c index 6f6ff410341a..497dfea02e8a 100644 --- a/fs/lockd/mon.c +++ b/fs/lockd/mon.c | |||
@@ -52,6 +52,8 @@ nsm_mon_unmon(struct nsm_handle *nsm, u32 proc, struct nsm_res *res) | |||
52 | clnt = nsm_create(); | 52 | clnt = nsm_create(); |
53 | if (IS_ERR(clnt)) { | 53 | if (IS_ERR(clnt)) { |
54 | status = PTR_ERR(clnt); | 54 | status = PTR_ERR(clnt); |
55 | dprintk("lockd: failed to create NSM upcall transport, " | ||
56 | "status=%d\n", status); | ||
55 | goto out; | 57 | goto out; |
56 | } | 58 | } |
57 | 59 | ||
@@ -60,8 +62,8 @@ nsm_mon_unmon(struct nsm_handle *nsm, u32 proc, struct nsm_res *res) | |||
60 | msg.rpc_proc = &clnt->cl_procinfo[proc]; | 62 | msg.rpc_proc = &clnt->cl_procinfo[proc]; |
61 | status = rpc_call_sync(clnt, &msg, 0); | 63 | status = rpc_call_sync(clnt, &msg, 0); |
62 | if (status < 0) | 64 | if (status < 0) |
63 | printk(KERN_DEBUG "nsm_mon_unmon: rpc failed, status=%d\n", | 65 | dprintk("lockd: NSM upcall RPC failed, status=%d\n", |
64 | status); | 66 | status); |
65 | else | 67 | else |
66 | status = 0; | 68 | status = 0; |
67 | rpc_shutdown_client(clnt); | 69 | rpc_shutdown_client(clnt); |