summaryrefslogtreecommitdiffstats
path: root/utils/mount/nfsmount.c
diff options
context:
space:
mode:
authorChuck Lever <chuck.lever@oracle.com>2007-07-16 16:29:12 -0400
committerNeil Brown <neilb@suse.de>2007-07-20 16:10:56 +1000
commitc940b820c790d7c595f92e3c8eb59a1b4adf5f96 (patch)
treefc5a9ccb78d5c3185bcdbbedb13e18a1294460ec /utils/mount/nfsmount.c
parentc7cec7fbd3fc9f46a17519d95b8211cf78e328c0 (diff)
downloadnfs-utils-c940b820c790d7c595f92e3c8eb59a1b4adf5f96.tar.gz
nfs-utils-c940b820c790d7c595f92e3c8eb59a1b4adf5f96.tar.xz
nfs-utils-c940b820c790d7c595f92e3c8eb59a1b4adf5f96.zip
Remove the running_bg parameter
Clean up: when nfsmount and nfs4mount are called, running_bg is always set to zero. Remove the parameter from the call. Signed-off-by: Chuck Lever <chuck.lever@oracle.com> Signed-off-by: Neil Brown <neilb@suse.de>
Diffstat (limited to 'utils/mount/nfsmount.c')
-rw-r--r--utils/mount/nfsmount.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/mount/nfsmount.c b/utils/mount/nfsmount.c
index 89fd4a3..8845f8b 100644
--- a/utils/mount/nfsmount.c
+++ b/utils/mount/nfsmount.c
@@ -487,14 +487,14 @@ out_bad:
int
nfsmount(const char *spec, const char *node, int flags,
- char **extra_opts, int running_bg, int fake)
+ char **extra_opts, int fake)
{
static char *prev_bg_host;
char hostdir[1024];
char *hostname, *dirname, *old_opts, *mounthost = NULL;
char new_opts[1024], cbuf[1024];
static struct nfs_mount_data data;
- int val;
+ int val, running_bg = 0;
static int doonce = 0;
clnt_addr_t mnt_server = { &mounthost, };