[GFS2] lock function parameter
Fix function parameter typing:
fs/gfs2/glock.c💯 warning: function declaration isn't a prototype
Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
This commit is contained in:
parent
98f176fb32
commit
0ac230699a
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue