From: Liang Zhen Date: Sat, 1 Mar 2014 02:16:40 +0000 (-0500) Subject: lustre/ptlrpc: rq_commit_cb is called for twice X-Git-Tag: v3.15-rc1~139^2~755 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=503a1ac74aa4e5b63d2a283b82f26684ce812b64;p=pandora-kernel.git lustre/ptlrpc: rq_commit_cb is called for twice If a ptlrpc_request is already on imp::imp_replay_list, when it's replayed and replied, after_reply() will call req::rq_commit_cb for the request, then call it again in ptlrpc_free_committed. Signed-off-by: Liang Zhen Reviewed-on: http://review.whamcloud.com/8815 Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-3618 Reviewed-by: Alex Zhuravlev Reviewed-by: Bobi Jam Reviewed-by: Oleg Drokin Signed-off-by: Oleg Drokin Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed