projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
98f176f
)
[GFS2] lock function parameter
author
Randy Dunlap
<randy.dunlap@oracle.com>
Wed, 29 Nov 2006 06:29:19 +0000
(22:29 -0800)
committer
Steven 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
patch
|
blob
|
history
diff --git
a/fs/gfs2/glock.c
b/fs/gfs2/glock.c
index 3c2ff81c84e2e84b92662868c861191c079768f7..f130f9894bda2994eebea4d95774893df1494d97 100644
(file)
--- 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;
}