git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
This commit was manufactured by cvs2svn to create tag
[linux-2.6.git]
/
fs
/
afs
/
vlocation.c
diff --git
a/fs/afs/vlocation.c
b/fs/afs/vlocation.c
index
c7396ca
..
9cff6b6
100644
(file)
--- 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
) {
if (!vlocation->valid ||
vlocation->vldb.rtime == vldb->rtime
) {
-
vlocation->vldb = *vldb
;
+
struct_cpy(&vlocation->vldb, vldb)
;
vlocation->valid = 1;
_leave(" = SUCCESS [c->m]");
return CACHEFS_MATCH_SUCCESS;
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("");
_enter("");
-
*vldb = vlocation->vldb
;
+
struct_cpy(vldb,&vlocation->vldb)
;
} /* end afs_vlocation_cache_update() */
#endif
} /* end afs_vlocation_cache_update() */
#endif