[rtems commit] nfsclient: Fix hard link operation

Sebastian Huber sebh at rtems.org
Fri May 4 11:27:12 UTC 2012


Module:    rtems
Branch:    master
Commit:    078369f41d8fd245945ddb82b07626bb4a678d6d
Changeset: http://git.rtems.org/rtems/commit/?id=078369f41d8fd245945ddb82b07626bb4a678d6d

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Fri May  4 12:46:17 2012 +0200

nfsclient: Fix hard link operation

---

 cpukit/libfs/src/nfsclient/src/nfs.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/cpukit/libfs/src/nfsclient/src/nfs.c b/cpukit/libfs/src/nfsclient/src/nfs.c
index b3e24a9..812797b 100644
--- a/cpukit/libfs/src/nfsclient/src/nfs.c
+++ b/cpukit/libfs/src/nfsclient/src/nfs.c
@@ -1493,7 +1493,7 @@ static int nfs_link(
 )
 {
 int rv = 0;
-NfsNode pNode;
+NfsNode pNode = parentloc->node_access;
 nfsstat status;
 NfsNode tNode = targetloc->node_access;
 char *dupname;




More information about the vc mailing list