mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 03:01:39 -04:00
locks: rename locks_remove_flock to locks_remove_file
This function currently removes leases in addition to flock locks and in a later patch we'll have it deal with file-private locks too. Rename it to locks_remove_file to indicate that it removes locks that are associated with a particular struct file, and not just flock locks. Acked-by: J. Bruce Fields <[email protected]> Signed-off-by: Jeff Layton <[email protected]>
This commit is contained in:
parent
bce7560d49
commit
78ed8a1338
3 changed files with 4 additions and 4 deletions
|
|
@ -2196,7 +2196,7 @@ EXPORT_SYMBOL(locks_remove_posix);
|
|||
/*
|
||||
* This function is called on the last close of an open file.
|
||||
*/
|
||||
void locks_remove_flock(struct file *filp)
|
||||
void locks_remove_file(struct file *filp)
|
||||
{
|
||||
struct inode * inode = file_inode(filp);
|
||||
struct file_lock *fl;
|
||||
|
|
|
|||
Loading…
Reference in a new issue