Whamcloud - gitweb
LU-5456 hsm: hold inode mutex around ll_setattr_raw() 49/11349/2
authorJohn L. Hammond <john.hammond@intel.com>
Wed, 6 Aug 2014 19:01:48 +0000 (14:01 -0500)
committerOleg Drokin <oleg.drokin@intel.com>
Tue, 12 Aug 2014 15:21:55 +0000 (15:21 +0000)
commitfc75c4b4f597f095fc16d6119427f17f0d8e2a85
treeb058d471fc1b8f50f26d938f523a6022b11974ad
parentecd44df592e8c97885e548ae2d4352c2f05f79f0
LU-5456 hsm: hold inode mutex around ll_setattr_raw()

ll_setattr_raw() expects to be called with the inode mutex held so do
when calling it from ll_hsm_import().

Signed-off-by: John L. Hammond <john.hammond@intel.com>
Change-Id: I91ef3d431fdf6db23bf4be6e957f2981d3e016cd
Reviewed-on: http://review.whamcloud.com/11349
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Jinshan Xiong <jinshan.xiong@intel.com>
Reviewed-by: Faccini Bruno <bruno.faccini@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/llite/file.c