locks: rename locks_remove_flock to locks_remove_file
authorJeff Layton <jlayton@redhat.com>
Mon, 3 Feb 2014 17:13:08 +0000 (12:13 -0500)
committerDanny Wood <danwood76@gmail.com>
Tue, 2 Feb 2021 12:36:42 +0000 (12:36 +0000)
commitdf241249e26b138e3c5d84805ae690f3e35c3dd2
tree87493a389e827275d15785b8743c6d936fd73be1
parent30888be44b67c7b408d8bdc988a5a49d50eebc7d
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 <bfields@fieldses.org>
Signed-off-by: Jeff Layton <jlayton@redhat.com>
Change-Id: I1289cfbc02eb778532e984a29adffb02a9370cc1
Signed-off-by: Kevin F. Haggerty <haggertk@lineageos.org>
fs/file_table.c
fs/locks.c
include/linux/fs.h