lxccontainer: update locking comment
lxccontainer: update locking comment

Update the LOCKING comment.

Take mem_lock in want_daemonize.

convert lxcapi_destroy to not use privlock/slock by hand.

Fix a coverity-found potential dereference of NULL c->lxc_conf.

api_cgroup_get_item() and api_cgroup_set_item(): use disklock,
not memlock, since the values are set through the cgroup fs on
the running container.

Signed-off-by: Serge Hallyn <3df611b026e4639bee8aef7a4beb2e39fcebb313@ubuntu.com>
Acked-by: Stéphane Graber <089afc6d81f66f1168a9849e15660feae286e024@ubuntu.com>

QingweiPeterLan/cs188-lxc,efiop/lxc,ojkastl/lxc_Patches,Pelagicore/lxc,JohnPeacockMessageSystems/lxc,bmoar/lxc,christiaan/lxc,lazy404/lxc,ksperis/lxc,raspberrypython/lxc,raspberrypython/lxc,caglar10ur/lxc,QingweiPeterLan/cs188-lxc,LynxChaus/lxc,federicobriata/lxc,lisongmin/lxc,ojkastl/lxc_Patches,virajs/lxc,jirislaby/lxc,hkjolhede/lxc,codebauss/lxc,regit/lxc,Distrotech/lxc,aeris/lxc,armcc/lxc,Ponce/lxc,weizhenwei/lxc,hfuCN/lxc,szaszg/lxc,Distrotech/lxc,hallyn/lxc,smoser/lxc,Ponce/lxc,major/lxc,major/lxc,aeris/lxc,virajs/lxc,lisongmin/lxc,Pelagicore/lxc,Ponce/lxc,armcc/lxc,regit/lxc,thmo/lxc,sapun/lxc,smoser/lxc,yubo/lxc,sapun/lxc,thmo/lxc,rldleblanc/lxc,lisongmin/lxc,ioops/lxc,weizhenwei/lxc,hallyn/lxc,terceiro/lxc,smoser/lxc,DarknessBeforeDawn/lxc,lazy404/lxc,tych0/lxc,bmoar/lxc,terceiro/lxc,lazy404/lxc,ksperis/lxc,regit/lxc,raspberrypython/lxc,ss1h2a3tw/lxc,jirislaby/lxc,glensc/lxc,Distrotech/lxc,christiaan/lxc,ojkastl/lxc_Patches,tych0/lxc,ecarrara/lxc,bmoar/lxc,codebauss/lxc,caglar10ur/lxc,yubo/lxc,bostjan/lxc,fwilson42/lxc,szaszg/lxc,hkjolhede/lxc,GreatFruitOmsk/lxc,JohnPeacockMessageSystems/lxc,federicobriata/lxc,cjwatson/lxc,LynxChaus/lxc,terceiro/lxc,DarknessBeforeDawn/lxc,hfuCN/lxc,rldleblanc/lxc,akshaykarle/lxc,hallyn/lxc,ojkastl/lxc_Patches,major/lxc,ecarrara/lxc,codebauss/lxc,QingweiPeterLan/cs188-lxc,hfuCN/lxc,akshaykarle/lxc,jirislaby/lxc,caglar10ur/lxc,hkjolhede/lxc,ioops/lxc,rowhit/lxc,ysbnim/lxc,fwilson42/lxc,tych0/lxc,smoser/lxc,rowhit/lxc,cjwatson/lxc,JohnPeacockMessageSystems/lxc,ss1h2a3tw/lxc,ioops/lxc,DarknessBeforeDawn/lxc,armcc/lxc,aeris/lxc,sapun/lxc,akshaykarle/lxc,Pelagicore/lxc,yubo/lxc,glensc/lxc,virajs/lxc,bostjan/lxc,ksperis/lxc,ss1h2a3tw/lxc,christiaan/lxc,glensc/lxc,GreatFruitOmsk/lxc,bostjan/lxc,rowhit/lxc,efiop/lxc,federicobriata/lxc,efiop/lxc,ysbnim/lxc,weizhenwei/lxc,ysbnim/lxc,ecarrara/lxc,thmo/lxc,szaszg/lxc,fwilson42/lxc,LynxChaus/lxc,cjwatson/lxc,rldleblanc/lxc,GreatFruitOmsk/lxc