linux24-add-configure-glue-for-new-inode-fields-20020108
authorDerrick Brashear <shadow@dementia.org>
Wed, 23 Jan 2002 05:09:11 +0000 (05:09 +0000)
committerDerrick Brashear <shadow@dementia.org>
Wed, 23 Jan 2002 05:09:11 +0000 (05:09 +0000)
sure would be nice if it compiled

src/afs/afs_vcache.c

index 75c198b..7d81d82 100644 (file)
@@ -984,10 +984,10 @@ struct vcache *afs_NewVCache(struct VenusFid *afid, struct server *serverp,
        INIT_LIST_HEAD(&ip->i_data.locked_pages);
        INIT_LIST_HEAD(&ip->i_dirty_buffers);
 #ifdef STRUCT_INODE_HAS_I_DIRTY_DATA_BUFFERS
-       INIT_LIST_HEAD(&inode->i_dirty_data_buffers);
+       INIT_LIST_HEAD(&ip->i_dirty_data_buffers);
 #endif
 #ifdef STRUCT_INODE_HAS_I_DEVICES
-       INIT_LIST_HEAD(&inode->i_devices);
+       INIT_LIST_HEAD(&ip->i_devices);
 #endif
        ip->i_data.host = (void*) ip;
        ip->i_mapping = &ip->i_data;