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.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/fs/lockd/clntproc.c b/fs/lockd/clntproc.c
index 31668b690e03..5ce42e0ed4a0 100644
--- a/fs/lockd/clntproc.c
+++ b/fs/lockd/clntproc.c
@@ -518,11 +518,9 @@ nlmclnt_lock(struct nlm_rqst *req, struct file_lock *fl)
518 unsigned char fl_type; 518 unsigned char fl_type;
519 int status = -ENOLCK; 519 int status = -ENOLCK;
520 520
521 if (nsm_monitor(host) < 0) { 521 if (nsm_monitor(host) < 0)
522 printk(KERN_NOTICE "lockd: failed to monitor %s\n",
523 host->h_name);
524 goto out; 522 goto out;
525 } 523
526 fl->fl_flags |= FL_ACCESS; 524 fl->fl_flags |= FL_ACCESS;
527 status = do_vfs_lock(fl); 525 status = do_vfs_lock(fl);
528 fl->fl_flags = fl_flags; 526 fl->fl_flags = fl_flags;