aboutsummaryrefslogtreecommitdiffstats
path: root/fs/fuse/file.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/fuse/file.c')
-rw-r--r--fs/fuse/file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/fuse/file.c b/fs/fuse/file.c
index 7bb685cdd00c..d480d9af46c9 100644
--- a/fs/fuse/file.c
+++ b/fs/fuse/file.c
@@ -1507,7 +1507,7 @@ static int fuse_setlk(struct file *file, struct file_lock *fl, int flock)
1507 pid_t pid = fl->fl_type != F_UNLCK ? current->tgid : 0; 1507 pid_t pid = fl->fl_type != F_UNLCK ? current->tgid : 0;
1508 int err; 1508 int err;
1509 1509
1510 if (fl->fl_lmops && fl->fl_lmops->fl_grant) { 1510 if (fl->fl_lmops && fl->fl_lmops->lm_grant) {
1511 /* NLM needs asynchronous locks, which we don't support yet */ 1511 /* NLM needs asynchronous locks, which we don't support yet */
1512 return -ENOLCK; 1512 return -ENOLCK;
1513 } 1513 }