* [PATCH 09/58] fs/locks.c: Mark generic_add_lease and generic_delete_lease static
[not found] <1353302917-13995-1-git-send-email-josh@joshtriplett.org>
@ 2012-11-19 5:27 ` Josh Triplett
0 siblings, 0 replies; only message in thread
From: Josh Triplett @ 2012-11-19 5:27 UTC (permalink / raw)
To: Linus Torvalds, Matthew Wilcox, Alexander Viro, linux-fsdevel,
linux-kernel
Cc: Josh Triplett
Nothing outside of fs/locks.c references these functions, so mark them
static.
Signed-off-by: Josh Triplett <josh@joshtriplett.org>
---
fs/locks.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/fs/locks.c b/fs/locks.c
index a94e331..01051de 100644
--- a/fs/locks.c
+++ b/fs/locks.c
@@ -1338,7 +1338,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;
@@ -1403,7 +1403,7 @@ out:
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;
--
1.7.10.4
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2012-11-19 5:27 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <1353302917-13995-1-git-send-email-josh@joshtriplett.org>
2012-11-19 5:27 ` [PATCH 09/58] fs/locks.c: Mark generic_add_lease and generic_delete_lease static Josh Triplett
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).