|
@@ -994,7 +994,7 @@ extern void locks_release_private(struct file_lock *);
|
|
|
extern void posix_test_lock(struct file *, struct file_lock *);
|
|
|
extern int posix_lock_file(struct file *, struct file_lock *, struct file_lock *);
|
|
|
extern int posix_lock_file_wait(struct file *, struct file_lock *);
|
|
|
-extern int posix_unblock_lock(struct file *, struct file_lock *);
|
|
|
+extern int posix_unblock_lock(struct file_lock *);
|
|
|
extern int vfs_test_lock(struct file *, struct file_lock *);
|
|
|
extern int vfs_lock_file(struct file *, unsigned int, struct file_lock *, struct file_lock *);
|
|
|
extern int vfs_cancel_lock(struct file *filp, struct file_lock *fl);
|
|
@@ -1084,8 +1084,7 @@ static inline int posix_lock_file_wait(struct file *filp, struct file_lock *fl)
|
|
|
return -ENOLCK;
|
|
|
}
|
|
|
|
|
|
-static inline int posix_unblock_lock(struct file *filp,
|
|
|
- struct file_lock *waiter)
|
|
|
+static inline int posix_unblock_lock(struct file_lock *waiter)
|
|
|
{
|
|
|
return -ENOENT;
|
|
|
}
|