search for: smb_protocol_lanman2

Displaying 1 result from an estimated 1 matches for "smb_protocol_lanman2".

2000 Jun 28
1
[Patch] Shorter patch for smbfs 2.2.16
...s/%s)\n", dentry->d_parent->d_name.name, file->f_dentry->d_name.name); #endif + /* + * Directory timestamps in the core protocol aren'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-&...