From 73739935f511e431a64232c9b737342c7ba859e7 Mon Sep 17 00:00:00 2001 From: Csaba Henk Date: Tue, 6 Apr 2010 21:18:15 +0000 Subject: initialization fixes Signed-off-by: Csaba Henk Signed-off-by: Anand V. Avati BUG: 361 (GlusterFS 3.0 should work on Mac OS/X) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=361 --- xlators/storage/posix/src/posix.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xlators/storage') diff --git a/xlators/storage/posix/src/posix.c b/xlators/storage/posix/src/posix.c index 22e03304ff2..56023afb290 100644 --- a/xlators/storage/posix/src/posix.c +++ b/xlators/storage/posix/src/posix.c @@ -201,7 +201,7 @@ posix_scale_ia_ino (struct posix_private *priv, struct iatt *buf) ino_t temp_ino = 0; int r; struct stat lstatbuf; - struct iatt export_buf; + struct iatt export_buf = {0 ,}; for (i = 0; i < priv->num_devices_to_span; i++) { if (buf->ia_dev == priv->st_device[i]) { -- cgit