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-06 16:44:51 +1000
commit42bd343305d1418d9c39793cecbd772bb2828ae9 (patch)
treee1ca767a9f88acea4a07d5340e13ddc7be1425c5
parent6bed892fe245390b308efd47625164e012ada3d8 (diff)
fs.h: add argument names to struct file_lock_operations (*funcs)
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.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/fs.h b/include/linux/fs.h
index 6425ecd92e2c..c9a3c910773a 100644
--- a/include/linux/fs.h
+++ b/include/linux/fs.h
@@ -859,8 +859,8 @@ static inline struct file *get_file(struct file *f)
typedef void *fl_owner_t;
struct file_lock_operations {
- void (*fl_copy_lock)(struct file_lock *, struct file_lock *);
- void (*fl_release_private)(struct file_lock *);
+ void (*fl_copy_lock)(struct file_lock *dst, struct file_lock *fl);
+ void (*fl_release_private)(struct file_lock *fl);
};
struct lock_manager_operations {