projects
/
yaffs2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
7a72804
)
Fix deleted hardlink handling
author
charles
<charles>
Mon, 19 Dec 2005 21:46:07 +0000
(21:46 +0000)
committer
charles
<charles>
Mon, 19 Dec 2005 21:46:07 +0000
(21:46 +0000)
yaffs_guts.c
patch
|
blob
|
history
diff --git
a/yaffs_guts.c
b/yaffs_guts.c
index 6c109c7374279abf1471bb16042d144e9162597b..c5be37ff748c02f431dde13b2ad10f7186737cfd 100644
(file)
--- a/
yaffs_guts.c
+++ b/
yaffs_guts.c
@@
-13,7
+13,7
@@
*/
const char *yaffs_guts_c_version =
*/
const char *yaffs_guts_c_version =
- "$Id: yaffs_guts.c,v 1.2
5 2005-12-08 00:51:15
charles Exp $";
+ "$Id: yaffs_guts.c,v 1.2
6 2005-12-19 21:46:07
charles Exp $";
#include "yportenv.h"
#include "yportenv.h"
@@
-4894,11
+4894,13
@@
static int yaffs_ScanBackwards(yaffs_Device * dev)
break;
case YAFFS_OBJECT_TYPE_HARDLINK:
break;
case YAFFS_OBJECT_TYPE_HARDLINK:
- in->variant.hardLinkVariant.equivalentObjectId =
+ if(!in->deleted) {
+ in->variant.hardLinkVariant.equivalentObjectId =
oh->equivalentObjectId;
oh->equivalentObjectId;
- in->hardLinks.next =
+
in->hardLinks.next =
(struct list_head *) hardList;
(struct list_head *) hardList;
- hardList = in;
+ hardList = in;
+ }
break;
case YAFFS_OBJECT_TYPE_DIRECTORY:
/* Do nothing */
break;
case YAFFS_OBJECT_TYPE_DIRECTORY:
/* Do nothing */