patch-2.1.45 linux/drivers/char/random.c
Next file: linux/drivers/char/rtc.c
Previous file: linux/drivers/char/psaux.c
Back to the patch index
Back to the overall index
- Lines: 19
- Date:
Tue Jul 8 16:28:45 1997
- Orig file:
v2.1.44/linux/drivers/char/random.c
- Orig date:
Mon Jul 7 08:24:28 1997
diff -u --recursive --new-file v2.1.44/linux/drivers/char/random.c linux/drivers/char/random.c
@@ -1125,8 +1125,7 @@
* update the access time.
*/
if (inode && count != 0) {
- inode->i_atime = CURRENT_TIME;
- inode->i_dirt = 1;
+ UPDATE_ATIME(inode);
}
return (count ? count : retval);
@@ -1182,7 +1181,7 @@
}
if ((ret > 0) && inode) {
inode->i_mtime = CURRENT_TIME;
- inode->i_dirt = 1;
+ mark_inode_dirty(inode);
}
return ret;
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov