cvs commit: src/sys/vfs/nfs nfs_subs.c

看板DFBSD_commit作者時間21年前 (2005/03/14 10:02), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/2 (看更多)
dillon 2005/03/13 14:17:40 PST DragonFly src repository Modified files: sys/vfs/nfs nfs_subs.c Log: Fix a couple of NFS client side caching snafus. First, we have to update np->n_mtime if the file has not being modified locally, otherwise n_mtime becomes stale and both the dynamic cache timeout calculation breaks and stat() calls checking for the last modified time break. This was causing indeterminant operation with make for obvious reasons. The Second problem was that we were not checking for an attrstamp of 0 (indicating a timed out entry), resulting in another incorrect timeout calculation. Revision Changes Path 1.25 +10 -3 src/sys/vfs/nfs/nfs_subs.c http://www.dragonflybsd.org/cvsweb/src/sys/vfs/nfs/nfs_subs.c.diff?r1=1.24&r2=1.25&f=u
文章代碼(AID): #12DF2l00 (DFBSD_commit)
文章代碼(AID): #12DF2l00 (DFBSD_commit)