locks: drop the unused filp argument to posix_unblock_lock
Signed-off-by: Jeff Layton <jlayton@redhat.com> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
@@ -2099,13 +2099,12 @@ void locks_remove_flock(struct file *filp)
|
||||
|
||||
/**
|
||||
* posix_unblock_lock - stop waiting for a file lock
|
||||
* @filp: how the file was opened
|
||||
* @waiter: the lock which was waiting
|
||||
*
|
||||
* lockd needs to block waiting for locks.
|
||||
*/
|
||||
int
|
||||
posix_unblock_lock(struct file *filp, struct file_lock *waiter)
|
||||
posix_unblock_lock(struct file_lock *waiter)
|
||||
{
|
||||
int status = 0;
|
||||
|
||||
@@ -2117,7 +2116,6 @@ posix_unblock_lock(struct file *filp, struct file_lock *waiter)
|
||||
unlock_flocks();
|
||||
return status;
|
||||
}
|
||||
|
||||
EXPORT_SYMBOL(posix_unblock_lock);
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user