patch-2.1.51 linux/fs/smbfs/file.c
Next file: linux/fs/smbfs/inode.c
Previous file: linux/fs/read_write.c
Back to the patch index
Back to the overall index
- Lines: 22
- Date:
Fri Aug 15 12:51:03 1997
- Orig file:
v2.1.50/linux/fs/smbfs/file.c
- Orig date:
Mon Jun 16 16:35:59 1997
diff -u --recursive --new-file v2.1.50/linux/fs/smbfs/file.c linux/fs/smbfs/file.c
@@ -126,8 +126,8 @@
if (!IS_RDONLY(inode))
inode->i_atime = CURRENT_TIME;
- inode->i_dirt = 1;
-
+ mark_inode_dirty(inode);
+
DPRINTK("smb_file_read: exit %s\n", SMB_FINFO(inode)->name);
return already_read;
@@ -196,8 +196,8 @@
}
inode->i_mtime = inode->i_ctime = CURRENT_TIME;
- inode->i_dirt = 1;
-
+ mark_inode_dirty(inode);
+
file->f_pos = pos;
if (pos > inode->i_size)
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov