Whamcloud - gitweb
LU-5287 export: hold exp_lock when modify exp_flags 71/11871/3
authorNiu Yawei <yawei.niu@intel.com>
Thu, 11 Sep 2014 10:57:52 +0000 (06:57 -0400)
committerOleg Drokin <oleg.drokin@intel.com>
Thu, 30 Oct 2014 02:16:58 +0000 (02:16 +0000)
commit9849f6110680d6846e05e9787f1821b0f86b5461
treec2079e8866016c2d82fd64adc6be6a2558db0b9f
parentacdaca8426a4ca21dab6f6b39365befb3a8f5ffc
LU-5287 export: hold exp_lock when modify exp_flags

There are few places that changing the exp_flags without holding
exp_lock, that could overwrite other concurrent exp_flags updating.

Signed-off-by: Niu Yawei <yawei.niu@intel.com>
Change-Id: I9c0421ffeacd6bf6feaa31dca9f9fc0e7963bc8b
Reviewed-on: http://review.whamcloud.com/11871
Tested-by: Jenkins
Reviewed-by: Fan Yong <fan.yong@intel.com>
Reviewed-by: James Simmons <uja.ornl@gmail.com>
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/ldlm/ldlm_lib.c
lustre/mdt/mdt_handler.c