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)
committerJeff Layton <jlayton@redhat.com>
Mon, 31 Mar 2014 12:24:42 +0000 (08:24 -0400)
commit78ed8a13382b1354e95d0f2233577eba15cb8171
tree1dfe2f7e7baee66928fe1a9c17d795919fe0098c
parentbce7560d4946dcfc07b0217b1d3862ed60ff7188
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>
fs/file_table.c
fs/locks.c
include/linux/fs.h