diff options
author | Randy Dunlap <randy.dunlap@oracle.com> | 2006-11-29 07:29:19 +0100 |
---|---|---|
committer | Steven Whitehouse <swhiteho@redhat.com> | 2006-11-30 16:37:18 +0100 |
commit | 0ac230699a0f3f0d15ad4e4ad99446dac5b4a21f (patch) | |
tree | c0d608cd584c3884492ec196544c6fcbf82a8fb8 | |
parent | [DLM] don't accept replies to old recovery messages (diff) | |
download | linux-0ac230699a0f3f0d15ad4e4ad99446dac5b4a21f.tar.xz linux-0ac230699a0f3f0d15ad4e4ad99446dac5b4a21f.zip |
[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>
-rw-r--r-- | fs/gfs2/glock.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/gfs2/glock.c b/fs/gfs2/glock.c index 3c2ff81c84e2..f130f9894bda 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; } |