From 7a92dbf8cc01ed3b32c124d8f23348a39b992b54 Mon Sep 17 00:00:00 2001 From: Chuck Lever Date: Fri, 3 Aug 2007 13:24:05 -0400 Subject: 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 Signed-off-by: Neil Brown --- utils/mount/mount.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'utils/mount/mount.c') 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); -- cgit