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

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