| To: | Timothy Shimmin <tes@xxxxxxxxxxxxxxxxxxxxxxx> |
|---|---|
| Subject: | Re: TAKE - xfsrestore cumulative hardlink fix |
| From: | "Bernhard R. Erdmann" <be@xxxxxxxxxxx> |
| Date: | Wed, 28 Nov 2001 23:49:18 +0100 |
| Cc: | linux-xfs@xxxxxxxxxxx |
| References: | <200111280755.SAA97350@xxxxxxxxxxxxxxxxxxxxxxx> |
| Sender: | owner-linux-xfs@xxxxxxxxxxx |
Timothy Shimmin wrote:
>
> Bernhard,
> please see if this fixes your trashing hardlink problem.
> I was able to reproduce the problem locally and this
> fix did the trick for me.
Wow! Just on line changed and everything is ok:
$ cvs diff -r1.8 tree.c
Index: tree.c
===================================================================
RCS file: /cvs/linux-2.4-xfs/cmd/xfsdump/restore/tree.c,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- tree.c 2001/11/10 05:21:03 1.8
+++ tree.c 2001/11/28 07:30:43 1.9
@@ -984,7 +984,7 @@
*/
node_t *matchp;
matchp = Node_map( matchh );
- hardp->n_flags |= NF_REFED;
+ matchp->n_flags |= NF_REFED;
Node_unmap( matchh, &matchp );
mlog( MLOG_DEBUG | MLOG_TREE,
"dirent %s %llu %u: "
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: TAKE - xfsrestore cumulative hardlink fix, Bernhard R. Erdmann |
|---|---|
| Next by Date: | [Fwd: Fatal filesystem bug?], Stefan Smietanowski |
| Previous by Thread: | Re: TAKE - xfsrestore cumulative hardlink fix, Bernhard R. Erdmann |
| Next by Thread: | Inode Size, Danny Cox |
| Indexes: | [Date] [Thread] [Top] [All Lists] |