Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

locks: make generic_add_lease and generic_delete_lease static

parent 1a9e64a7
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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;