patch-1.3.9 linux/fs/smbfs/file.c
Next file: linux/fs/smbfs/inode.c
Previous file: linux/fs/smbfs/dir.c
Back to the patch index
Back to the overall index
- Lines: 20
- Date:
Mon Jul 10 08:28:00 1995
- Orig file:
v1.3.8/linux/fs/smbfs/file.c
- Orig date:
Fri Jul 7 08:54:52 1995
diff -u --recursive --new-file v1.3.8/linux/fs/smbfs/file.c linux/fs/smbfs/file.c
@@ -119,6 +119,9 @@
file->f_pos = pos;
+ if (!IS_RDONLY(inode)) inode->i_atime = CURRENT_TIME;
+ inode->i_dirt = 1;
+
DPRINTK("smb_file_read: exit %s\n", SMB_FINFO(inode)->path);
return already_read;
@@ -177,6 +180,9 @@
break;
}
}
+
+ inode->i_mtime = inode->i_ctime = CURRENT_TIME;
+ inode->i_dirt = 1;
file->f_pos = pos;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov
with Sam's (original) version of this