summaryrefslogtreecommitdiffstats
path: root/fs/gfs2/glock.h
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@kernel.org>2008-01-29 00:11:34 +0200
committerSteven Whitehouse <swhiteho@redhat.com>2008-03-31 10:40:02 +0100
commit048786f1e6042022a8fb2035157a8c8c3a82a4f2 (patch)
tree767dcd59a8fc6392c1347a4342b2220f7599780b /fs/gfs2/glock.h
parentef8c441cb7fece75dbbdb1f59d3f82b6a4be7474 (diff)
downloadlinux-048786f1e6042022a8fb2035157a8c8c3a82a4f2.tar.bz2
[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.h')
-rw-r--r--fs/gfs2/glock.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/gfs2/glock.h b/fs/gfs2/glock.h
index 2f9c6d136b37..ace5770760ce 100644
--- a/fs/gfs2/glock.h
+++ b/fs/gfs2/glock.h
@@ -79,7 +79,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);