* [PATCH -mm] gfs2 lock function parameter
@ 2006-11-29 6:29 Randy Dunlap
2006-11-29 8:58 ` Steven Whitehouse
0 siblings, 1 reply; 2+ messages in thread
From: Randy Dunlap @ 2006-11-29 6:29 UTC (permalink / raw)
To: linux-fsdevel; +Cc: swhiteho, cluster-devel, akpm
From: Randy Dunlap <randy.dunlap@oracle.com>
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>
---
fs/gfs2/glock.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- linux-2.6.19-rc6-mm2.orig/fs/gfs2/glock.c
+++ linux-2.6.19-rc6-mm2/fs/gfs2/glock.c
@@ -96,7 +96,7 @@ static inline rwlock_t *gl_lock_addr(uns
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;
}
---
^ permalink raw reply [flat|nested] 2+ messages in thread* Re: [PATCH -mm] gfs2 lock function parameter
2006-11-29 6:29 [PATCH -mm] gfs2 lock function parameter Randy Dunlap
@ 2006-11-29 8:58 ` Steven Whitehouse
0 siblings, 0 replies; 2+ messages in thread
From: Steven Whitehouse @ 2006-11-29 8:58 UTC (permalink / raw)
To: Randy Dunlap; +Cc: linux-fsdevel, cluster-devel, akpm
Hi,
I've put this in the -nmw git tree. I'd pull it into the -fixes tree
too, but its probably better to let Linus take whats there first and
then I'll send this on later,
Steve.
On Tue, 2006-11-28 at 22:29 -0800, Randy Dunlap wrote:
> From: Randy Dunlap <randy.dunlap@oracle.com>
>
> 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>
> ---
> fs/gfs2/glock.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> --- linux-2.6.19-rc6-mm2.orig/fs/gfs2/glock.c
> +++ linux-2.6.19-rc6-mm2/fs/gfs2/glock.c
> @@ -96,7 +96,7 @@ static inline rwlock_t *gl_lock_addr(uns
> 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;
> }
>
>
> ---
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-11-29 8:58 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-11-29 6:29 [PATCH -mm] gfs2 lock function parameter Randy Dunlap
2006-11-29 8:58 ` Steven Whitehouse
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).