提交 d4f22d19 编写于 作者: J Jeff Layton 提交者: Al Viro

locks: make generic_add_lease and generic_delete_lease static

Signed-off-by: NJeff Layton <jlayton@redhat.com>
Acked-by: NJ. Bruce Fields <bfields@fieldses.org>
Signed-off-by: NAl Viro <viro@zeniv.linux.org.uk>
上级 1a9e64a7
......@@ -1337,7 +1337,7 @@ int fcntl_getlease(struct file *filp)
return type;
}
int generic_add_lease(struct file *filp, long arg, struct file_lock **flp)
static int generic_add_lease(struct file *filp, long arg, struct file_lock **flp)
{
struct file_lock *fl, **before, **my_before = NULL, *lease;
struct dentry *dentry = filp->f_path.dentry;
......@@ -1402,7 +1402,7 @@ int generic_add_lease(struct file *filp, long arg, struct file_lock **flp)
return error;
}
int generic_delete_lease(struct file *filp, struct file_lock **flp)
static int generic_delete_lease(struct file *filp, struct file_lock **flp)
{
struct file_lock *fl, **before;
struct dentry *dentry = filp->f_path.dentry;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册