aboutsummaryrefslogtreecommitdiff
path: root/fs/gfs2
diff options
context:
space:
mode:
authorRandy Dunlap <randy.dunlap@oracle.com>2006-11-28 22:29:19 -0800
committerSteven Whitehouse <swhiteho@redhat.com>2006-11-30 10:37:18 -0500
commit0ac230699a0f3f0d15ad4e4ad99446dac5b4a21f (patch)
treec0d608cd584c3884492ec196544c6fcbf82a8fb8 /fs/gfs2
parent98f176fb32f33795b6d0f83856008b932123ab38 (diff)
[GFS2] lock function parameter
Fix function parameter typing: fs/gfs2/glock.c:100: warning: function declaration isn't a prototype Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com> Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Diffstat (limited to 'fs/gfs2')
-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 3c2ff81c84e..f130f9894bd 100644
--- a/fs/gfs2/glock.c
+++ b/fs/gfs2/glock.c
@@ -96,7 +96,7 @@ static inline rwlock_t *gl_lock_addr(unsigned int x)
return &gl_hash_locks[x & (GL_HASH_LOCK_SZ-1)];
}
#else /* not SMP, so no spinlocks required */
-static inline rwlock_t *gl_lock_addr(x)
+static inline rwlock_t *gl_lock_addr(unsigned int x)
{
return NULL;
}