Hi, folks,
I am reading this part of code in 2.4S6. I find
something that might be a bug. The file is
fs/ufs/store_dir_ufs.c. The function is question is
storeUfsRebuildFromSwapLog. It seems to me the first
line inside the if should be e->lastref = s.lastref
and the line regarding refcount should be e->refcount
= s.refcount. I checked HEAD also and it has the same
thing, too. Can anyone tell me whether this is a bug
or not? If not, can anyone clarify this for me?
Thanks.
Yee Man
The code in question:
--------------
/* swapfile taken, same URL, newer, update
meta */
if (e->store_status == STORE_OK) {
e->lastref = s.timestamp;
e->timestamp = s.timestamp;
e->expires = s.expires;
e->lastmod = s.lastmod;
e->flags = s.flags;
e->refcount += s.refcount;
storeUfsDirUnrefObj(SD, e);
} else {
--------
__________________________________________________
Do You Yahoo!?
Yahoo! Health - your guide to health and wellness
http://health.yahoo.com
Received on Tue Apr 30 2002 - 18:55:08 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:15:23 MST