nfs-utils: mount: Fixed TCP mounts with alpha servers
Subsystems (2)
PATCH 8/11 nfs-utils: mount: Fixed TCP mounts with alpha servers
commit 84e8186d1ad1f280c2a849349efbddab1f1fe16d
Author: Steve Dickson <[email protected]> Date: Sat Feb 24 16:02:08 2007 -0500
Removed some old mounting versioning code that was stopping tcp mount from working with alpha servers
Signed-off-by Steve Dickson <[email protected]>
utils/mount/mount.c +1 -1
@@ -487,7 +487,7 @@ int main(int argc, char *argv[])else {if (!strcmp (progname,"mount.nfs" )) { mnt_err =nfsmount (spec, mount_point, &flags, - &extra_opts, &mount_opts, &nfs_mount_vers,0 ); + &extra_opts, &mount_opts,0 ); } }if (fake)
utils/mount/nfs_mount.h +1 -1
@@ -78,7 +78,7 @@ struct nfs_mount_data {#define AUTH_GSS_SPKMP 390011#endif -int nfsmount (const char *,const char *,int *,char **,char **,int *,int ); +int nfsmount (const char *,const char *,int *,char **,char **,int );void mount_errors (char *,int ,int );int contains (const char *,const char *);char *get_value (const char *,const char *);
utils/mount/nfsmount.c +2 -5
@@ -818,8 +818,7 @@ nfsmnt_check_compat(const struct pmap *nfs_pmap, const struct pmap *mnt_pmap)int nfsmount (const char *spec,const char *node,int *flags, -char **extra_opts,char **mount_opts,int *nfs_mount_vers, -int running_bg) +char **extra_opts,char **mount_opts,int running_bg) {static char *prev_bg_host;char hostdir[1024 ];
@@ -850,9 +849,7 @@ nfsmount(const char *spec, const char *node, int *flags,/* The version to try is either specified or 0 In case it is 0 we tell the caller what we tried */ -if (!*nfs_mount_vers) - *nfs_mount_vers =find_kernel_nfs_mount_version (); - nfs_mount_version = *nfs_mount_vers; + nfs_mount_version =find_kernel_nfs_mount_version (); retval =EX_FAIL ; fsock =-1 ;
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs