diff --git a/vfs/ChangeLog b/vfs/ChangeLog index a4c9a957c..dd240faee 100644 --- a/vfs/ChangeLog +++ b/vfs/ChangeLog @@ -1,3 +1,8 @@ +2006-04-04 Pavel Tsekov + + * sfs.c (sfs_uptodate): Eliminate - it is a noop. + Remove all references to `sfs_uptodate'. + 2006-03-31 Dmitry Butskoj * fish.c (fish_file_store): Do not create the target file before diff --git a/vfs/sfs.c b/vfs/sfs.c index 2da364f3b..c57a26366 100644 --- a/vfs/sfs.c +++ b/vfs/sfs.c @@ -48,14 +48,6 @@ static int sfs_flags[ MAXFS ]; #define F_NOLOCALCOPY 4 #define F_FULLMATCH 8 -static int -sfs_uptodate (char *name, char *cache) -{ - (void) name; - (void) cache; - return 1; -} - static int sfs_vfmake (struct vfs_class *me, const char *name, char *cache) { @@ -156,8 +148,7 @@ sfs_redirect (struct vfs_class *me, const char *name) int handle; while (cur) { - if ((!strcmp (name, cur->name)) - && (sfs_uptodate (cur->name, cur->cache))) { + if (!strcmp (name, cur->name)) { vfs_stamp (&vfs_sfs_ops, cur); return cur->cache; }