forked from rubenslte/android_kernel_samsung_msm8226
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>