summaryrefslogtreecommitdiffstats
path: root/include/linux/fs.h
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2014-08-22 10:18:42 -0400
committerJeff Layton <jlayton@primarydata.com>2014-09-09 16:01:06 -0400
commitd0449b90f80f263e17e8b3ce31442e45121dc46c (patch)
treeccf93559ff2721b5d5ea702e49d8689e44ae13d0 /include/linux/fs.h
parentf39b913cee67e401ad697578baca0ba34830209b (diff)
downloadlinux-d0449b90f80f263e17e8b3ce31442e45121dc46c.tar.gz
linux-d0449b90f80f263e17e8b3ce31442e45121dc46c.tar.bz2
linux-d0449b90f80f263e17e8b3ce31442e45121dc46c.zip
locks: Remove unused conf argument from lm_grant
This argument is always NULL so don't pass it around. [jlayton: remove dependencies on previous patches in series] Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: Jeff Layton <jlayton@primarydata.com>
Diffstat (limited to 'include/linux/fs.h')
-rw-r--r--include/linux/fs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/fs.h b/include/linux/fs.h
index 94187721ad41..908af4f81680 100644
--- a/include/linux/fs.h
+++ b/include/linux/fs.h
@@ -869,7 +869,7 @@ struct lock_manager_operations {
int (*lm_compare_owner)(struct file_lock *, struct file_lock *);
unsigned long (*lm_owner_key)(struct file_lock *);
void (*lm_notify)(struct file_lock *); /* unblock callback */
- int (*lm_grant)(struct file_lock *, struct file_lock *, int);
+ int (*lm_grant)(struct file_lock *, int);
void (*lm_break)(struct file_lock *);
int (*lm_change)(struct file_lock **, int);
};