Commits

Anonymous committed 41342b5

Update timestamp on write

Comments (0)

Files changed (1)

 			return 0;
 		len = inode->i_size - pos;
 	}
+
+	if (write)
+		inode->i_mtime = inode->i_ctime = gettime();
+
 	unsigned bbits = tux_sb(inode->i_sb)->blockbits;
 	unsigned bsize = tux_sb(inode->i_sb)->blocksize;
 	unsigned bmask = tux_sb(inode->i_sb)->blockmask;