Unionfs ODF2: Fix compilation warnings from exports patch
authorRachita Kothiyal <rachita@louie.fsl.cs.sunysb.edu>
Wed, 19 Dec 2007 04:11:42 +0000 (23:11 -0500)
committerRachita Kothiyal <rachita@dewey.fsl.cs.sunysb.edu>
Thu, 1 May 2008 23:03:27 +0000 (19:03 -0400)
Signed-off-by: Rachita Kothiyal <rachita@fsl.cs.sunysb.edu>
fs/unionfs/export.c

index 46d7653e2f0c6b2704e2976a785db3f245de2ec3..c904753003e08dd1962b58eae16e9f2497446b45 100644 (file)
@@ -289,7 +289,7 @@ static struct dentry *unionfs_fh_to_parent(struct super_block *sb,
                                                struct fid *fid, int fh_len,
                                                int fh_type)
 {
-       __u32 parent[3];
+       __u32 parent[3] = {0, 0, 0};
        struct dentry *result;
        result = ERR_PTR(-EINVAL);
        if (fh_len < 3 || fh_type > FILEID_INO32_GEN_PARENT)