Whamcloud - gitweb
LU-3157 llite: A not locked mutex can be unlocked.
authorDmitry Eremin <dmitry.eremin@intel.com>
Thu, 11 Apr 2013 11:55:57 +0000 (15:55 +0400)
committerOleg Drokin <oleg.drokin@intel.com>
Mon, 3 Jun 2013 19:49:11 +0000 (15:49 -0400)
commiteaf947fc5d96db346aa3a63fa6e1c2186f377c74
tree78ac06360131d7f526484666e0c8060020edbb34
parent41b6a536a0828a262f2f809c39cdf2d82ddb147e
LU-3157 llite: A not locked mutex can be unlocked.

In case of memory pressure a not locked mutex can be unlocked
in function ll_file_open(). This is not allowed and subsequent
behavior is not defined.

Signed-off-by: Dmitry Eremin <dmitry.eremin@intel.com>
Change-Id: I21368247cac23038f9b995e9de328f9286909731
Reviewed-on: http://review.whamcloud.com/6028
Reviewed-by: John Hammond <johnlockwoodhammond@gmail.com>
Reviewed-by: Nikitas Angelinas <nikitas_angelinas@xyratex.com>
Tested-by: Hudson
Reviewed-by: Sebastien Buisson <sebastien.buisson@bull.net>
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
lustre/llite/file.c