From 509e82e402d64c79f27c9a10d75b100a1ac5fefa Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Mon, 3 Dec 2007 23:33:22 +0100 Subject: r26272: Remove global_loadparm in some more places. (This used to be commit 1ab76ecc5311fa863e5d04899b6f110899818f55) --- source4/client/cifsdd.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'source4/client') diff --git a/source4/client/cifsdd.c b/source4/client/cifsdd.c index aa63edcd7a..06a5f79ed7 100644 --- a/source4/client/cifsdd.c +++ b/source4/client/cifsdd.c @@ -426,10 +426,10 @@ static int copy_files(struct loadparm_context *lp_ctx) return(EOM_EXIT_CODE); } - set_max_xmit(global_loadparm, MAX(ibs, obs)); + set_max_xmit(lp_ctx, MAX(ibs, obs)); DEBUG(4, ("IO buffer size is %llu, max xmit is %d\n", - (unsigned long long)iomax, lp_max_xmit(global_loadparm))); + (unsigned long long)iomax, lp_max_xmit(lp_ctx))); if (!(ifile = open_file("if"))) { return(FILESYS_EXIT_CODE); @@ -443,7 +443,7 @@ static int copy_files(struct loadparm_context *lp_ctx) ifile->io_seek(ifile, check_arg_numeric("skip") * ibs); ofile->io_seek(ofile, check_arg_numeric("seek") * obs); - DEBUG(4, ("max xmit was negotiated to be %d\n", lp_max_xmit(global_loadparm))); + DEBUG(4, ("max xmit was negotiated to be %d\n", lp_max_xmit(lp_ctx))); for (data_size = 0;;) { -- cgit