diff options
author | Jeff Layton <jlayton@redhat.com> | 2014-02-03 12:13:08 -0500 |
---|---|---|
committer | Jeff Layton <jlayton@redhat.com> | 2014-03-31 08:24:42 -0400 |
commit | 78ed8a13382b1354e95d0f2233577eba15cb8171 (patch) | |
tree | 1dfe2f7e7baee66928fe1a9c17d795919fe0098c /fs/file_table.c | |
parent | bce7560d4946dcfc07b0217b1d3862ed60ff7188 (diff) | |
download | lwn-78ed8a13382b1354e95d0f2233577eba15cb8171.tar.gz lwn-78ed8a13382b1354e95d0f2233577eba15cb8171.zip |
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>
Diffstat (limited to 'fs/file_table.c')
-rw-r--r-- | fs/file_table.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/file_table.c b/fs/file_table.c index 5fff9030be34..468543c1973d 100644 --- a/fs/file_table.c +++ b/fs/file_table.c @@ -234,7 +234,7 @@ static void __fput(struct file *file) * in the file cleanup chain. */ eventpoll_release(file); - locks_remove_flock(file); + locks_remove_file(file); if (unlikely(file->f_flags & FASYNC)) { if (file->f_op->fasync) |