[GFS2] lock function parameter
authorRandy Dunlap <randy.dunlap@oracle.com>
Wed, 29 Nov 2006 06:29:19 +0000 (22:29 -0800)
committerSteven Whitehouse <swhiteho@redhat.com>
Thu, 30 Nov 2006 15:37:18 +0000 (10:37 -0500)
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>
fs/gfs2/glock.c

index 3c2ff81c84e2e84b92662868c861191c079768f7..f130f9894bda2994eebea4d95774893df1494d97 100644 (file)
@@ -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;
 }