diff options
author | Chuck Lever <chuck.lever@oracle.com> | 2007-08-03 13:24:05 -0400 |
---|---|---|
committer | Neil Brown <neilb@suse.de> | 2007-08-04 08:27:40 +1000 |
commit | 7a92dbf8cc01ed3b32c124d8f23348a39b992b54 (patch) | |
tree | 618272626fd2d2e8bdb125c52761880e96467432 /utils/mount/mount.c | |
parent | 7f8fae8cd60025f7fa1b446da363dcc2e1fb5b6a (diff) | |
download | nfs-utils-7a92dbf8cc01ed3b32c124d8f23348a39b992b54.tar.gz nfs-utils-7a92dbf8cc01ed3b32c124d8f23348a39b992b54.tar.xz nfs-utils-7a92dbf8cc01ed3b32c124d8f23348a39b992b54.zip |
mount.nfs: restore bg argument to nfsmount() and nfs4mount()
To enable background mounting again, restore the "bg" argument to
nfsmount() and nfs4mount() that was recently removed.
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Neil Brown <neilb@suse.de>
Diffstat (limited to 'utils/mount/mount.c')
-rw-r--r-- | utils/mount/mount.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/utils/mount/mount.c b/utils/mount/mount.c index a7ad035..9ac817c 100644 --- a/utils/mount/mount.c +++ b/utils/mount/mount.c @@ -493,9 +493,11 @@ int main(int argc, char *argv[]) } if (strcmp(fs_type, "nfs4") == 0) - mnt_err = nfs4mount(spec, mount_point, flags, &extra_opts, fake); + mnt_err = nfs4mount(spec, mount_point, flags, + &extra_opts, fake, 0); else - mnt_err = nfsmount(spec, mount_point, flags, &extra_opts, fake); + mnt_err = nfsmount(spec, mount_point, flags, + &extra_opts, fake, 0); if (mnt_err) exit(EX_FAIL); |