Am 19.01.2013 18:14, schrieb Julien Cristau:
> Control: tag -1 moreinfo
>
> On Sat, Jan 19, 2013 at 14:27:47 +0100, Patrick Matthäi wrote:
>
>> +diff -Naur glusterfs-3.2.7.orig/libglusterfs/src/statedump.c glusterfs-3.2.7/libglusterfs/src/statedump.c
>> +--- glusterfs-3.2.7.orig/libglusterfs/src/statedump.c 2012-06-10 19:44:15.000000000 +0200
>> ++++ glusterfs-3.2.7/libglusterfs/src/statedump.c 2013-01-19 13:49:26.415982036 +0100
>> +@@ -408,12 +404,13 @@
>> + void
>> + gf_proc_dump_info (int signum)
>> + {
>> +- int ret = -1;
>> +- glusterfs_ctx_t *ctx = NULL;
>> +-
>> ++ int ret = -1;
>> ++ glusterfs_ctx_t *ctx = NULL;
>> ++ char brick_name[PATH_MAX] = {0,};
>> ++ char tmp_dump_name[] = "/tmp/dumpXXXXXX";
>> ++ char path[PATH_MAX] = {0,};
>> +
>> + gf_proc_dump_lock ();
>> +- ret = gf_proc_dump_open ();
>> + if (ret < 0)
>> + goto out;
>> +
>
> How can that possibly work?
>
> Cheers,
> Julien
Just very short, do you agree with this updated patch:
http://misc.linux-dev.org/g327.patch
If yes I would prepare an update tomorrow.
--
/*
Mit freundlichem Gruß / With kind regards,
Patrick Matthäi
GNU/Linux Debian Developer
Blog: http://www.linux-dev.org/
E-Mail: pmatthaei@debian.org
patrick@linux-dev.org
*/
Attachment:
signature.asc
Description: OpenPGP digital signature