Whamcloud - gitweb
Branch HEAD
authorzam <zam>
Tue, 13 Oct 2009 11:33:00 +0000 (11:33 +0000)
committerzam <zam>
Tue, 13 Oct 2009 11:33:00 +0000 (11:33 +0000)
commit760f027f7271aa47fe962e1f01b7a753e3b0b1d0
tree1d0d4b7b11dfd57080de3c83199b65510b72bf63
parent8a635039c4dd838f6239ce79c37a307577a33d07
Branch HEAD
b=20642
i=zhen.liang
i=alexander.zarochentsev

fix for already freed rs object access in commit_replies:
1 . Introduce rs->rs_committed flag to indicate that commit_replies() has done
  all access to the rs object.
2. check rs->rs_committed instead of list_empty_careful() to sure that
   commit_replies does not access the rs object in parallel with
   ptlrpc_handle_rs and it is safe not to use exp_uncommitted_replies_lock.
lustre/include/lustre_net.h
lustre/ptlrpc/service.c