diff options
author | Randy Dunlap <randy.dunlap@oracle.com> | 2006-11-29 06:29:19 (GMT) |
---|---|---|
committer | Steven Whitehouse <swhiteho@redhat.com> | 2006-11-30 15:37:18 (GMT) |
commit | 0ac230699a0f3f0d15ad4e4ad99446dac5b4a21f (patch) | |
tree | c0d608cd584c3884492ec196544c6fcbf82a8fb8 /fs | |
parent | 98f176fb32f33795b6d0f83856008b932123ab38 (diff) | |
download | linux-fsl-qoriq-0ac230699a0f3f0d15ad4e4ad99446dac5b4a21f.tar.xz |
[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')
-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 3c2ff81..f130f98 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; } |