* [Cluster-devel] Re: [PATCH] [GFS2] Fix format string bug
[not found] <1213246215-9685-1-git-send-email-max@stro.at>
@ 2008-06-13 11:37 ` Steven Whitehouse
0 siblings, 0 replies; only message in thread
From: Steven Whitehouse @ 2008-06-13 11:37 UTC (permalink / raw)
To: cluster-devel.redhat.com
Hi,
On Thu, 2008-06-12 at 06:50 +0200, maximilian attems wrote:
> similar to 326f6a5c9c9e1a62aec37bdc0c3f8d53adabe77b,
> only writable by root but worth fixing.
>
> Signed-off-by: maximilian attems <max@stro.at>
> ---
> fs/gfs2/locking.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/fs/gfs2/locking.c b/fs/gfs2/locking.c
> index 663fee7..4857024 100644
> --- a/fs/gfs2/locking.c
> +++ b/fs/gfs2/locking.c
> @@ -131,7 +131,7 @@ retry:
> if (!try && capable(CAP_SYS_MODULE)) {
> try = 1;
> mutex_unlock(&lmh_lock);
> - request_module(proto_name);
> + request_module("%s", proto_name);
> goto retry;
> }
> printk(KERN_INFO "GFS2: can't find protocol %s\n", proto_name);
I'm not quite sure whats wrong with the original here, but I'm currently
working upon a patch to remove the lock_dlm module (the lock_nolock
module is already gone) by merging it into the core of GFS2. So that
this module loading code will be disappearing very shortly.
So on that basis, I don't feel that its worth applying this patch at the
moment anyway,
Steve.
^ permalink raw reply [flat|nested] only message in thread