mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04:00
locks: drop the unused filp argument to posix_unblock_lock
Signed-off-by: Jeff Layton <[email protected]> Signed-off-by: Al Viro <[email protected]>
This commit is contained in:
parent
da53be12bb
commit
f891a29f46
3 changed files with 4 additions and 7 deletions
|
|
@ -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);
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in a new issue