fs/9p: When doing inode lookup compare qid details and inode mode bits.
[pandora-kernel.git] / fs / 9p / v9fs.c
index c82b017..8b7c6be 100644 (file)
@@ -487,8 +487,8 @@ static void v9fs_inode_init_once(void *foo)
        struct v9fs_inode *v9inode = (struct v9fs_inode *)foo;
 #ifdef CONFIG_9P_FSCACHE
        v9inode->fscache = NULL;
-       v9inode->fscache_key = NULL;
 #endif
+       memset(&v9inode->qid, 0, sizeof(v9inode->qid));
        inode_init_once(&v9inode->vfs_inode);
 }