diff options
Diffstat (limited to 'fs/fuse')
-rw-r--r-- | fs/fuse/file.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/fuse/file.c b/fs/fuse/file.c index 82a66466a24c..9150865a0c5b 100644 --- a/fs/fuse/file.c +++ b/fs/fuse/file.c | |||
@@ -1495,7 +1495,7 @@ static int fuse_setlk(struct file *file, struct file_lock *fl, int flock) | |||
1495 | pid_t pid = fl->fl_type != F_UNLCK ? current->tgid : 0; | 1495 | pid_t pid = fl->fl_type != F_UNLCK ? current->tgid : 0; |
1496 | int err; | 1496 | int err; |
1497 | 1497 | ||
1498 | if (fl->fl_lmops && fl->fl_lmops->fl_grant) { | 1498 | if (fl->fl_lmops && fl->fl_lmops->lm_grant) { |
1499 | /* NLM needs asynchronous locks, which we don't support yet */ | 1499 | /* NLM needs asynchronous locks, which we don't support yet */ |
1500 | return -ENOLCK; | 1500 | return -ENOLCK; |
1501 | } | 1501 | } |