summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2014-07-31 09:38:06 +1000
committerStephen Rothwell <sfr@canb.auug.org.au>2014-08-07 17:03:47 +1000
commitd44ab9a984e75e270a0eab80b15b731aee24ead1 (patch)
tree31e56ad1767de34006418df3c3cbf416a836cf38
parentd6556299cf49a6b6bfb85e705d716457d41568f0 (diff)
fs.h: add member argument descriptions to lock_manager_operations
Function pointer struct members without argument type names are not very clear. Add them. Signed-off-by: Joe Perches <joe@perches.com> Cc: Al Viro <viro@ZenIV.linux.org.uk> Cc: David Teigland <teigland@redhat.com> Acked-by: Jeff Layton <jlayton@poochiereds.net> Cc: Christine Caulfield <ccaulfie@redhat.com> Cc: "J. Bruce Fields" <bfields@fieldses.org> Cc: Trond Myklebust <trond.myklebust@primarydata.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
-rw-r--r--include/linux/fs.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/include/linux/fs.h b/include/linux/fs.h
index c9a3c910773a..365a0cd10c9c 100644
--- a/include/linux/fs.h
+++ b/include/linux/fs.h
@@ -864,12 +864,12 @@ struct file_lock_operations {
};
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);
- void (*lm_break)(struct file_lock *);
- int (*lm_change)(struct file_lock **, int);
+ int (*lm_compare_owner)(struct file_lock *fl1, struct file_lock *fl2);
+ unsigned long (*lm_owner_key)(struct file_lock *fl);
+ void (*lm_notify)(struct file_lock *fl); /* unblock callback */
+ int (*lm_grant)(struct file_lock *fl, struct file_lock *conf, int result);
+ void (*lm_break)(struct file_lock *fl);
+ int (*lm_change)(struct file_lock **fl, int type);
};
struct lock_manager {