X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=fs%2Fafs%2Fvlocation.c;h=c7396ca082ecaab4e4dd3fb2d8149c7d99aa15c5;hb=9bf4aaab3e101692164d49b7ca357651eb691cb6;hp=9cff6b6870704835a3798896c76a7dc8c56452c0;hpb=db216c3d5e4c040e557a50f8f5d35d5c415e8c1c;p=linux-2.6.git diff --git a/fs/afs/vlocation.c b/fs/afs/vlocation.c index 9cff6b687..c7396ca08 100644 --- a/fs/afs/vlocation.c +++ b/fs/afs/vlocation.c @@ -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