Fixed previous edit: Use op->o_bd, not a copy of ss->s_op->o_bd

This commit is contained in:
Rein Tollevik 2009-04-04 17:58:58 +00:00
parent ab0d7543df
commit aef88182ab

View File

@ -1182,7 +1182,6 @@ syncprov_matchops( Operation *op, opcookie *opc, int saveit )
{ {
Operation op2; Operation op2;
Opheader oh; Opheader oh;
BackendDB be;
syncmatches *sm; syncmatches *sm;
int found = 0; int found = 0;
@ -1250,11 +1249,10 @@ syncprov_matchops( Operation *op, opcookie *opc, int saveit )
if ( fc.fscope ) { if ( fc.fscope ) {
op2 = *ss->s_op; op2 = *ss->s_op;
be = *op2.o_bd;
oh = *op->o_hdr; oh = *op->o_hdr;
oh.oh_conn = ss->s_op->o_conn; oh.oh_conn = ss->s_op->o_conn;
oh.oh_connid = ss->s_op->o_connid; oh.oh_connid = ss->s_op->o_connid;
op2.o_bd = &be; op2.o_bd = op->o_bd;
op2.o_hdr = &oh; op2.o_hdr = &oh;
op2.o_extra = op->o_extra; op2.o_extra = op->o_extra;
rc = test_filter( &op2, e, ss->s_op->ors_filter ); rc = test_filter( &op2, e, ss->s_op->ors_filter );