cluster-devel.redhat.com archive mirror
 help / color / mirror / Atom feed
* [Cluster-devel] [2.6 patch] make gfs2_glock_hold() static
@ 2008-01-28 22:11 Adrian Bunk
  2008-01-29  8:37 ` [Cluster-devel] " Steven Whitehouse
  0 siblings, 1 reply; 2+ messages in thread
From: Adrian Bunk @ 2008-01-28 22:11 UTC (permalink / raw)
  To: cluster-devel.redhat.com

gfs2_glock_hold() can now become static.

Signed-off-by: Adrian Bunk <bunk@kernel.org>

---

 fs/gfs2/glock.c |    2 +-
 fs/gfs2/glock.h |    1 -
 2 files changed, 1 insertion(+), 2 deletions(-)

f04fbd054a051a564a3138e0e02b7423acf45a06 
diff --git a/fs/gfs2/glock.c b/fs/gfs2/glock.c
index 80e09c5..e18f251 100644
--- a/fs/gfs2/glock.c
+++ b/fs/gfs2/glock.c
@@ -197,7 +197,7 @@ static void glock_free(struct gfs2_glock *gl)
  *
  */
 
-void gfs2_glock_hold(struct gfs2_glock *gl)
+static void gfs2_glock_hold(struct gfs2_glock *gl)
 {
 	atomic_inc(&gl->gl_ref);
 }
diff --git a/fs/gfs2/glock.h b/fs/gfs2/glock.h
index b16f604..0724076 100644
--- a/fs/gfs2/glock.h
+++ b/fs/gfs2/glock.h
@@ -77,7 +77,6 @@ static inline int gfs2_glock_is_blocking(struct gfs2_glock *gl)
 int gfs2_glock_get(struct gfs2_sbd *sdp,
 		   u64 number, const struct gfs2_glock_operations *glops,
 		   int create, struct gfs2_glock **glp);
-void gfs2_glock_hold(struct gfs2_glock *gl);
 int gfs2_glock_put(struct gfs2_glock *gl);
 void gfs2_holder_init(struct gfs2_glock *gl, unsigned int state, unsigned flags,
 		      struct gfs2_holder *gh);



^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-01-29  8:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-01-28 22:11 [Cluster-devel] [2.6 patch] make gfs2_glock_hold() static Adrian Bunk
2008-01-29  8:37 ` [Cluster-devel] " Steven Whitehouse

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).