projects
/
yaffs2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Further integration of 64-bit time changes
[yaffs2.git]
/
rtems
/
rtems_yaffs.c
diff --git
a/rtems/rtems_yaffs.c
b/rtems/rtems_yaffs.c
index 461132074baf6d004212c98b4b99de591a5b3158..bb6edf1467871feed61567b09a14c24d2118816c 100644
(file)
--- a/
rtems/rtems_yaffs.c
+++ b/
rtems/rtems_yaffs.c
@@
-281,9
+281,9
@@
static int ryfs_utime(
obj = yaffs_get_equivalent_obj(obj);
if (obj != NULL) {
obj->dirty = 1;
obj = yaffs_get_equivalent_obj(obj);
if (obj != NULL) {
obj->dirty = 1;
- obj->yst_atime =
(u32)
actime;
- obj->yst_mtime =
(u32)
modtime;
- obj->yst_ctime =
(u32)
time(NULL);
+ obj->yst_atime = actime;
+ obj->yst_mtime = modtime;
+ obj->yst_ctime = time(NULL);
} else {
errno = EIO;
rv = -1;
} else {
errno = EIO;
rv = -1;
@@
-680,7
+680,7
@@
static int ryfs_symlink(const rtems_filesystem_location_info_t *parent_loc,
mode = S_IFLNK |
((S_IRWXU | S_IRWXG | S_IRWXO) & ~rtems_filesystem_umask);
mode = S_IFLNK |
((S_IRWXU | S_IRWXG | S_IRWXO) & ~rtems_filesystem_umask);
- created_link = yaffs_create_symlink(parent_dir, name, mode,
+ created_link = yaffs_create_symlink(parent_dir, name, mode,
geteuid(), getegid(), target);
if (created_link != NULL) {
geteuid(), getegid(), target);
if (created_link != NULL) {