projects
/
yaffs2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
yaffs: Fix free space tracking of summary during gc.
[yaffs2.git]
/
yaffs_attribs.c
diff --git
a/yaffs_attribs.c
b/yaffs_attribs.c
index aaf46850c655252159ef32901a40884387508102..fe914e558b64cba94ef599e8b463cde40bf8117b 100644
(file)
--- a/
yaffs_attribs.c
+++ b/
yaffs_attribs.c
@@
-1,7
+1,7
@@
/*
* YAFFS: Yet Another Flash File System. A NAND-flash specific file system.
*
/*
* YAFFS: Yet Another Flash File System. A NAND-flash specific file system.
*
- * Copyright (C) 2002-201
0
Aleph One Ltd.
+ * Copyright (C) 2002-201
1
Aleph One Ltd.
* for Toby Churchill Ltd and Brightstar Engineering
*
* Created by Charles Manning <charles@aleph1.co.uk>
* for Toby Churchill Ltd and Brightstar Engineering
*
* Created by Charles Manning <charles@aleph1.co.uk>
@@
-39,9
+39,9
@@
void yaffs_load_current_time(struct yaffs_obj *obj, int do_a, int do_c)
{
obj->yst_mtime = Y_CURRENT_TIME;
if (do_a)
{
obj->yst_mtime = Y_CURRENT_TIME;
if (do_a)
- obj->yst_atime = obj->yst_
a
time;
+ obj->yst_atime = obj->yst_
m
time;
if (do_c)
if (do_c)
- obj->yst_ctime = obj->yst_
a
time;
+ obj->yst_ctime = obj->yst_
m
time;
}
void yaffs_attribs_init(struct yaffs_obj *obj, u32 gid, u32 uid, u32 rdev)
}
void yaffs_attribs_init(struct yaffs_obj *obj, u32 gid, u32 uid, u32 rdev)
@@
-64,7
+64,7
@@
loff_t yaffs_get_file_size(struct yaffs_obj *obj)
alias = obj->variant.symlink_variant.alias;
if (!alias)
return 0;
alias = obj->variant.symlink_variant.alias;
if (!alias)
return 0;
- return
yaffs_
strnlen(alias, YAFFS_MAX_ALIAS_LENGTH);
+ return strnlen(alias, YAFFS_MAX_ALIAS_LENGTH);
default:
return 0;
}
default:
return 0;
}