patch-1.3.4 linux/fs/open.c
Next file: linux/fs/pipe.c
Previous file: linux/fs/nfs/symlink.c
Back to the patch index
Back to the overall index
- Lines: 11
- Date:
Mon Jun 26 11:06:52 1995
- Orig file:
v1.3.3/linux/fs/open.c
- Orig date:
Mon Jun 12 16:49:41 1995
diff -u --recursive --new-file v1.3.3/linux/fs/open.c linux/fs/open.c
@@ -157,8 +157,8 @@
iput(inode);
return error;
}
- actime = get_fs_long((unsigned long *) ×->actime);
- modtime = get_fs_long((unsigned long *) ×->modtime);
+ actime = get_user(×->actime);
+ modtime = get_user(×->modtime);
newattrs.ia_ctime = CURRENT_TIME;
flags = ATTR_ATIME_SET | ATTR_MTIME_SET;
} else {
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov
with Sam's (original) version of this