From c7cec7fbd3fc9f46a17519d95b8211cf78e328c0 Mon Sep 17 00:00:00 2001 From: Chuck Lever Date: Mon, 16 Jul 2007 16:29:06 -0400 Subject: mount.nfs: Change *flags to flags It's not necessary to treat the *flags parameter to nfsmount and nfs4mount as an output parameter. Nothing is passed back. Replace it with a normal call-by-value. Signed-off-by: Chuck Lever Signed-off-by: Neil Brown --- utils/mount/mount.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'utils/mount/mount.c') diff --git a/utils/mount/mount.c b/utils/mount/mount.c index bd7e25c..2b211b9 100644 --- a/utils/mount/mount.c +++ b/utils/mount/mount.c @@ -468,9 +468,9 @@ int main(int argc, char *argv[]) exit(EX_FAIL); if (strcmp(fs_type, "nfs4") == 0) - mnt_err = nfs4mount(spec, mount_point, &flags, &extra_opts, 0, fake); + mnt_err = nfs4mount(spec, mount_point, flags, &extra_opts, 0, fake); else - mnt_err = nfsmount(spec, mount_point, &flags, &extra_opts, 0, fake); + mnt_err = nfsmount(spec, mount_point, flags, &extra_opts, 0, fake); if (mnt_err) exit(EX_FAIL); -- cgit