-
Andriy Skulysh authored
mdt_remote_object_lock_try() drops object reference in case of an error but if the request was sent to a server it is decreased again via failed_lock_cleanup() Add ldlm_created_callback. It is called after lock creation, so we can safely add a reference to l_ast_data and drop it only in BL AST handler. Lustre-commit: b2368774 Lustre-change: https://review.whamcloud.com/34181 Cray-bug-id: LUS-7013 Signed-off-by: Lai Siyao <lai.siyao@whamcloud.com> Signed-off-by: Andriy Skulysh <c17819@cray.com> Reviewed-by: Alexandr Boyko <c17825@cray.com> Reviewed-by: Vitaly Fertman <c17818@cray.com> Reviewed-by: Mike Pershin <mpershin@whamcloud.com> Reviewed-by: Lai Siyao <lai.siyao@whamcloud.com> Reviewed-by: Oleg Drokin <green@whamcloud.com> Change-Id: I49c946278f379390634642370d15c7fe89441d86 Reviewed-on: https://review.whamcloud.com/39976 Tested-by: jenkins <devops@whamcloud.com> Tested-by: Maloo <maloo@whamcloud.com>
2040144a