Whamcloud - gitweb
LU-4135 mdt: restore mdt_save_lock() functionality 48/8048/3
authorMikhail Pershin <mike.pershin@intel.com>
Wed, 23 Oct 2013 18:17:51 +0000 (22:17 +0400)
committerOleg Drokin <oleg.drokin@intel.com>
Thu, 31 Oct 2013 03:26:18 +0000 (03:26 +0000)
commitde9df2fd1623f37a2258c037706892a00159921d
treefe1e71420215fe496fdc1b7d424b77b0387cdcc9
parent206db60c884a9f96342d8c3f91f8b2f0101a716a
LU-4135 mdt: restore mdt_save_lock() functionality

Missed updates for mti_has_trans cause mdt_save_lock() to do
just decref for lock and never try to save it as intended.

Patch restores updating mti_has_trans variable and fix issue
with NULL req in case of mdt_export_cleanup() codepath

Signed-off-by: Mikhail Pershin <mike.pershin@intel.com>
Change-Id: I2e4ccae018635842df1e02d72a639b0ca1fbdb04
Reviewed-on: http://review.whamcloud.com/8048
Tested-by: Hudson
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Alex Zhuravlev <alexey.zhuravlev@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/mdt/mdt_handler.c
lustre/mdt/mdt_recovery.c