Whamcloud - gitweb
LU-5287 export: hold exp_lock when modify exp_flags 71/11871/1
authorNiu Yawei <yawei.niu@intel.com>
Thu, 11 Sep 2014 10:57:52 +0000 (06:57 -0400)
committerNiu Yawei <yawei.niu@intel.com>
Thu, 11 Sep 2014 10:57:52 +0000 (06:57 -0400)
commit999fedbd5c18a021064b23933e84e4c92a7f48ac
treecef76b738588a9e0e6fa159a88274fe60e0cf9f0
parent635421641bfa8a412edebd4ffbbdf05fd0c47410
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
lustre/ldlm/ldlm_lib.c
lustre/mdt/mdt_handler.c