aboutsummaryrefslogtreecommitdiffstats
path: root/fs/lockd/clntproc.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/lockd/clntproc.c')
-rw-r--r--fs/lockd/clntproc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/lockd/clntproc.c b/fs/lockd/clntproc.c
index 0116729cec5f..5436be623e30 100644
--- a/fs/lockd/clntproc.c
+++ b/fs/lockd/clntproc.c
@@ -499,7 +499,7 @@ nlmclnt_lock(struct nlm_rqst *req, struct file_lock *fl)
499 unsigned char fl_flags = fl->fl_flags; 499 unsigned char fl_flags = fl->fl_flags;
500 int status = -ENOLCK; 500 int status = -ENOLCK;
501 501
502 if (!host->h_monitored && nsm_monitor(host) < 0) { 502 if (nsm_monitor(host) < 0) {
503 printk(KERN_NOTICE "lockd: failed to monitor %s\n", 503 printk(KERN_NOTICE "lockd: failed to monitor %s\n",
504 host->h_name); 504 host->h_name);
505 goto out; 505 goto out;