search for: smb_invalid_dir_cach

Displaying 3 results from an estimated 3 matches for "smb_invalid_dir_cach".

Did you mean: smb_invalid_dir_cache
2000 Jun 28
1
[Patch] Shorter patch for smbfs 2.2.16
...'t updated + * when a file is added, so we give them a very short TTL. + */ + if (server->opt.protocol < SMB_PROTOCOL_LANMAN2) + { + unsigned long age = jiffies - dir->u.smbfs_i.oldmtime; + if (age > 2*HZ) + smb_invalid_dir_cache(dir); + } if (server->conn_pid) error = smb_revalidate_inode(dentry); @@ -420,6 +430,7 @@ dentry->d_parent->d_name.name, dentry->d_name.name, mode); #endif + smb_invalid_dir_cache(dir); error = smb_proc_create(dentry, 0, CURRENT_TIME, &am...
2001 Apr 05
1
[Fwd: smbmount problems]
BTW, I am using samba-client-2.0.7-4 and Redhat Linux 6.1 (linux 2.2.12-20). -Sudheer Sudheer Tumuluru wrote: > Hi, > I have an NT machine running an application which refreshes a > text file every minute or so with fresh data. The directory containing > this file is shared so that I can do an smbmount. I have a linux machine > which runs a program to interpret this file.
1998 Sep 04
0
Linux SMB Mount utils patch
..._dircache(struct cache_head *); +void smb_free_dircache(struct cache_head *); +int smb_refill_dircache(struct cache_head *, struct dentry *); +void smb_add_to_cache(struct cache_head *, struct cache_dirent *, off_t); +int smb_find_in_cache(struct cache_head *, off_t, struct cache_dirent *); +void smb_invalid_dir_cache(struct inode *); + +#endif /* __KERNEL__ */ + +#endif /* _LINUX_SMB_FS_H */ diff -urN samba-1.9.18p10-orig/source/smb_mount.h samba-1.9.18p10/source/smb_mount.h --- samba-1.9.18p10-orig/source/smb_mount.h Wed Dec 31 16:00:00 1969 +++ samba-1.9.18p10/source/smb_mount.h Thu Sep 3 12:54:45 1998 @@ -...