From: Mikhail Pershin Date: Mon, 3 Feb 2020 09:03:59 +0000 (+0300) Subject: LU-10756 ptlrpc: fix IMP_CLOSED state is being never set X-Git-Tag: 2.12.6-RC1~20 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=d22ae9251fe04d717aa0e323312879ba7e2ae3ae;hp=d22ae9251fe04d717aa0e323312879ba7e2ae3ae;p=fs%2Flustre-release.git LU-10756 ptlrpc: fix IMP_CLOSED state is being never set Commit cf78502e48d checks the new state for IMP_CLOSED value instead of import current state so instead of keeping import closed it prevents import state from being set to IMP_CLOSE Patch restores original check to keep import closed by checking its current state Fixes: cf78502e48d ("LU-10756 ptlrpc: change IMPORT_SET_* macros into real functions") Signed-off-by: Mikhail Pershin Change-Id: I7df2798f09ce7023381c03957adf530da4149c2d Reviewed-on: https://review.whamcloud.com/37405 Reviewed-by: James Simmons Reviewed-by: Andreas Dilger Tested-by: jenkins Tested-by: Maloo Reviewed-by: Oleg Drokin (cherry picked from commit 43dddbd0785d4da14714390d802bf6ec65567350) Reviewed-on: https://review.whamcloud.com/38621 ---