FIX: Fix changing Configured Swap

Problem Ref:	2956
Organization:	CSIRO
Contact:	Gareth Williams



git-svn-id: svn://opensvn.adaptivecomputing.com/maui/trunk@109 3f5042e3-fb1d-0410-be18-d6ca2573e517
This commit is contained in:
bchristiansen 2009-02-13 18:53:54 +00:00
parent 9cbaa08be7
commit bf96cf5c8e

View File

@ -2885,8 +2885,8 @@ int MPBSQueryMOM(
/* NOTE: PBS totmem = swap + RAM */
if ((TotMem > 0) && (N->CRes.Mem > 0))
N->CRes.Swap = TotMem - N->CRes.Mem;
if (TotMem > 0)
N->CRes.Swap = TotMem;
closerm(sd);
@ -6278,8 +6278,8 @@ int __MPBSIGetSSSStatus(
/* NOTE: PBS totmem = swap + RAM */
if ((TotMem > 0) && (N->CRes.Mem > 0))
N->CRes.Swap = TotMem - N->CRes.Mem;
if (TotMem > 0)
N->CRes.Swap = TotMem;
return(SUCCESS);
} /* END __MPBSIGetSSSStatus() */