Commit d4f22d19 authored by Jeff Layton's avatar Jeff Layton Committed by Al Viro

locks: make generic_add_lease and generic_delete_lease static

Signed-off-by: default avatarJeff Layton <jlayton@redhat.com>
Acked-by: default avatarJ. Bruce Fields <bfields@fieldses.org>
Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent 1a9e64a7
...@@ -1337,7 +1337,7 @@ int fcntl_getlease(struct file *filp) ...@@ -1337,7 +1337,7 @@ int fcntl_getlease(struct file *filp)
return type; 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 file_lock *fl, **before, **my_before = NULL, *lease;
struct dentry *dentry = filp->f_path.dentry; struct dentry *dentry = filp->f_path.dentry;
...@@ -1402,7 +1402,7 @@ int generic_add_lease(struct file *filp, long arg, struct file_lock **flp) ...@@ -1402,7 +1402,7 @@ int generic_add_lease(struct file *filp, long arg, struct file_lock **flp)
return error; 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 file_lock *fl, **before;
struct dentry *dentry = filp->f_path.dentry; struct dentry *dentry = filp->f_path.dentry;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment