aboutsummaryrefslogtreecommitdiffstats
path: root/fs/gfs2/glock.c
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@kernel.org>2008-01-28 17:11:34 -0500
committerSteven Whitehouse <swhiteho@redhat.com>2008-03-31 05:40:02 -0400
commit048786f1e6042022a8fb2035157a8c8c3a82a4f2 (patch)
tree767dcd59a8fc6392c1347a4342b2220f7599780b /fs/gfs2/glock.c
parentef8c441cb7fece75dbbdb1f59d3f82b6a4be7474 (diff)
[GFS2] make gfs2_glock_hold() static
gfs2_glock_hold() can now become static. Signed-off-by: Adrian Bunk <bunk@kernel.org> Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Diffstat (limited to 'fs/gfs2/glock.c')
-rw-r--r--fs/gfs2/glock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/gfs2/glock.c b/fs/gfs2/glock.c
index 5752dec017c1..befcda0e53a1 100644
--- a/fs/gfs2/glock.c
+++ b/fs/gfs2/glock.c
@@ -197,7 +197,7 @@ static void glock_free(struct gfs2_glock *gl)
197 * 197 *
198 */ 198 */
199 199
200void gfs2_glock_hold(struct gfs2_glock *gl) 200static void gfs2_glock_hold(struct gfs2_glock *gl)
201{ 201{
202 atomic_inc(&gl->gl_ref); 202 atomic_inc(&gl->gl_ref);
203} 203}