search for: smb_proc_close

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

2002 Oct 28
3
SMBFS files receiving incorrect timestamps
Hello all. Our system consists of two linux machines, each running Red Hat 7.1 (kernel 2.4.9-34), using SMB to mount multiple shares hosted by a Windows 2000 Advance Server. smbclient from Samba 2.2.5 is used to do the actual mounting. Over the weekend, a number of files on these SMBFS shares were created with incorrect timestamps (modification times). In some cases, the timestamps were off by
2002 Dec 21
0
Re: samba digest, Vol 1 #2006 - 24 msgs (Out of the office - Returning Monday, Jan. 6th)
...0) 725-3273 fax 723-0033 --__--__-- Message: 18 To: samba@lists.samba.org From: "Jacob Anawalt" <anawaltaj@hotmail.com> Date: Fri, 20 Dec 2002 18:14:14 -0700 Subject: [Samba] Re: Create time changing by itself? >Find fs/smbfs/proc.c in your kernel source tree. >Search for smb_proc_close_inode(). >See if changing any of the operations it does there helps. > - remove the code after the "Kludge alert" I did this, and still tar thinks the file was modified. Now I'm seeing the ctime drift like Timo noticed when I stat. The first stat showed one ctime and then the...
2003 Dec 01
0
No subject
...hen closing a file you need to make it set the attributes if SMB_F_LOCALWRITE is set. The patch below is a starting point. It may work, but it probably doesn't. The diff is vs a 2.4.7-pre6 kernel but it should be possible to make the same changes to whatever kernel you use. The changes are to smb_proc_close_inode. /Urban --- linux-2.4.7-pre6-orig/fs/smbfs/proc.c Wed Jul 4 17:09:28 2001 +++ linux/fs/smbfs/proc.c Fri Jul 13 13:15:37 2001 @@ -1111,6 +1111,12 @@ struct smb_fattr fattr; smb_get_inode_attr(ino, &fattr); smb_proc_setattr_ext(server, ino, &fattr); + + /* set the arch...