ceph: silence uninitialized variable warning
Sage Weil [Tue, 27 Oct 2009 05:06:22 +0000 (22:06 -0700)]
Signed-off-by: Sage Weil <sage@newdream.net>

fs/ceph/super.c

index deb51bd..924e6ca 100644 (file)
@@ -808,7 +808,7 @@ static int ceph_get_sb(struct file_system_type *fs_type,
        struct ceph_client *client;
        int err;
        int (*compare_super)(struct super_block *, void *) = ceph_compare_super;
-       const char *path;
+       const char *path = 0;
 
        dout("ceph_get_sb\n");