mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-27 16:39:08 +00:00
Back out previous commit, bde@ provided an example of something this
breaks.
This commit is contained in:
parent
fcee8ae2e5
commit
87c29bf93e
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=141143
@ -254,12 +254,6 @@ ufs_open(struct vop_open_args *ap)
|
||||
(ap->a_mode & (FWRITE | O_APPEND)) == FWRITE)
|
||||
return (EPERM);
|
||||
vnode_create_vobject(vp, DIP(ip, i_size), ap->a_td);
|
||||
/*
|
||||
* Set the access time - this catches normal open(2) of files
|
||||
* as well as execve(2).
|
||||
*/
|
||||
ip->i_flag |= IN_ACCESS;
|
||||
ufs_itimes(vp);
|
||||
return (0);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user