Skip to content

Commit

Permalink
rgw: should assign 'olh_bl" to state.attrset[RGW_ATTR_OLH_ID_TAG] ins…
Browse files Browse the repository at this point in the history
…tead of 'bl'

Signed-off-by: weiqiaomiao <wei.qiaomiao@zte.com.cn>
  • Loading branch information
weiqiaomiao committed Jul 11, 2016
1 parent b3bea59 commit a404d62
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rgw/rgw_rados.cc
Expand Up @@ -9578,7 +9578,7 @@ int RGWRados::olh_init_modification_impl(RGWObjState& state, rgw_obj& olh_obj, s
olh_bl.append(olh_tag.c_str(), olh_tag.size());
op.setxattr(RGW_ATTR_OLH_ID_TAG, olh_bl);

state.attrset[RGW_ATTR_OLH_ID_TAG] = bl;
state.attrset[RGW_ATTR_OLH_ID_TAG] = olh_bl;
state.olh_tag = olh_bl;
state.is_olh = true;

Expand Down

0 comments on commit a404d62

Please sign in to comment.