On 07/15/2010 02:59 AM, Matt Helsley wrote: > On Fri, Jul 09, 2010 at 07:51:32PM -0700, Sukadev Bhattiprolu wrote: >> >> From: Sukadev Bhattiprolu<suka...@linux.vnet.ibm.com> >> Subject: [PATCH 1/2] Ensure frezer state has changed >> >> A write to the freezer.state file does not gurantee that the state has >> changed. To ensure that the freezer state is either FROZEN or THAWED, >> read the freezer state and if it has not changed, repeat the write. > > Technically this is only necessary for the THAWED -> FROZEN > transition. In other words, if we're FROZEN and write THAWED then > we don't need to read the state. However, it doesn't hurt to check. > > Reviewed-by: Matt Helsley<matth...@us.ibm.com>
Thanks Matt for the comments. Suka, I pushed your patch, but if you have time, that would be nice if you can address Matt's comments. Thanks -- Daniel ------------------------------------------------------------------------------ This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first _______________________________________________ Lxc-devel mailing list Lxc-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxc-devel