patch-2.1.51 linux/fs/ncpfs/file.c

Next file: linux/fs/ncpfs/inode.c
Previous file: linux/fs/namei.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.50/linux/fs/ncpfs/file.c linux/fs/ncpfs/file.c
@@ -130,8 +130,8 @@
 	if (!IS_RDONLY(inode)) {
 		inode->i_atime = CURRENT_TIME;
 	}
-	inode->i_dirt = 1;
-
+	mark_inode_dirty(inode);
+	
 	DPRINTK("ncp_file_read: exit %s\n", NCP_ISTRUCT(inode)->entryName);
 
 	return already_read;
@@ -192,8 +192,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