diff options
author | Randy Dunlap <randy.dunlap@oracle.com> | 2006-11-28 22:29:19 -0800 |
---|---|---|
committer | Steven Whitehouse <swhiteho@redhat.com> | 2006-11-30 10:37:18 -0500 |
commit | 0ac230699a0f3f0d15ad4e4ad99446dac5b4a21f (patch) | |
tree | c0d608cd584c3884492ec196544c6fcbf82a8fb8 /fs/gfs2/glock.c | |
parent | 98f176fb32f33795b6d0f83856008b932123ab38 (diff) | |
download | blackbird-op-linux-0ac230699a0f3f0d15ad4e4ad99446dac5b4a21f.tar.gz blackbird-op-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>
Diffstat (limited to 'fs/gfs2/glock.c')
-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; } |