summaryrefslogtreecommitdiffstats
path: root/cpukit/libfs/src/nfsclient/src/nfs.c
diff options
context:
space:
mode:
authorMathew Kallada <matkallada@gmail.com>2012-12-28 08:05:20 -0600
committerJennifer Averett <jennifer.averett@oarcorp.com>2012-12-28 08:05:20 -0600
commit4e592763cbeeb457260e029f906a4f3a1e70ed2f (patch)
treee2daf0e84086a316cd754bc1f51d53aaf8c46eea /cpukit/libfs/src/nfsclient/src/nfs.c
parentlibfs: Doxygen Enhancement Task #3 (diff)
downloadrtems-4e592763cbeeb457260e029f906a4f3a1e70ed2f.tar.bz2
libfs: Doxygen Enhancement Task #5
Diffstat (limited to 'cpukit/libfs/src/nfsclient/src/nfs.c')
-rw-r--r--cpukit/libfs/src/nfsclient/src/nfs.c23
1 files changed, 14 insertions, 9 deletions
diff --git a/cpukit/libfs/src/nfsclient/src/nfs.c b/cpukit/libfs/src/nfsclient/src/nfs.c
index 2627726dc0..e4e9d88bfe 100644
--- a/cpukit/libfs/src/nfsclient/src/nfs.c
+++ b/cpukit/libfs/src/nfsclient/src/nfs.c
@@ -1,15 +1,20 @@
-/* NFS client implementation for RTEMS; hooks into the RTEMS filesystem */
-
-/* Author: Till Straumann <strauman@slac.stanford.edu> 2002 */
+/**
+ * @file
+ *
+ * @brief NFS Client Implementation for RTEMS
+ * @ingroup libfs
+ *
+ * Hooks Into the RTEMS NFS Filesystem
+ */
/*
+ * Author: Till Straumann <strauman@slac.stanford.edu>, 2002
+ *
* Hacked on by others.
*
* Modifications to support reference counting in the file system are
* Copyright (c) 2012 embedded brains GmbH.
- */
-
-/*
+ *
* Authorship
* ----------
* This software (NFS-2 client implementation for RTEMS) was created by
@@ -1313,7 +1318,7 @@ int len;
}
memcpy(&psa->sin_addr, h->h_addr, sizeof (struct in_addr));
-
+
/* END OF NON-THREAD SAFE REGION */
psa->sin_family = AF_INET;
@@ -1770,13 +1775,13 @@ char *path = mt_entry->dev;
fprintf (stderr, "error: initialising RPC\n");
return -1;
}
-
+
nfsInit(0, 0);
#if 0
printf("Trying to mount %s on %s\n",path,mntpoint);
#endif
-
+
if ( buildIpAddr(&uid, &gid, &host, &saddr, &path) )
return -1;