VServer 1.9.2 (patch-2.6.8.1-vs1.9.2.diff)
[linux-2.6.git] / fs / afs / vlocation.c
index 9cff6b6..c7396ca 100644 (file)
@@ -906,7 +906,7 @@ static cachefs_match_val_t afs_vlocation_cache_match(void *target,
                if (!vlocation->valid ||
                    vlocation->vldb.rtime == vldb->rtime
                    ) {
-                       struct_cpy(&vlocation->vldb, vldb);
+                       vlocation->vldb = *vldb;
                        vlocation->valid = 1;
                        _leave(" = SUCCESS [c->m]");
                        return CACHEFS_MATCH_SUCCESS;
@@ -947,7 +947,7 @@ static void afs_vlocation_cache_update(void *source, void *entry)
 
        _enter("");
 
-       struct_cpy(vldb,&vlocation->vldb);
+       *vldb = vlocation->vldb;
 
 } /* end afs_vlocation_cache_update() */
 #endif