diff options
author | Mathew Kallada <matkallada@gmail.com> | 2012-12-28 08:05:20 -0600 |
---|---|---|
committer | Jennifer Averett <jennifer.averett@oarcorp.com> | 2012-12-28 08:05:20 -0600 |
commit | 4e592763cbeeb457260e029f906a4f3a1e70ed2f (patch) | |
tree | e2daf0e84086a316cd754bc1f51d53aaf8c46eea /cpukit/libfs/src/nfsclient/src/nfs.c | |
parent | libfs: Doxygen Enhancement Task #3 (diff) | |
download | rtems-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.c | 23 |
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; |