Whamcloud - gitweb
LU-3360 osc: check ostid if no OBD_CONNECT_FID
[fs/lustre-release.git] / lustre / include / lustre / lustre_idl.h
index 1b1928d..6210ff8 100644 (file)
@@ -3231,7 +3231,7 @@ static inline void lustre_set_wire_obdo(struct obd_connect_data *ocd,
                return;
 
        if (unlikely(!(ocd->ocd_connect_flags & OBD_CONNECT_FID)) &&
-           fid_seq_is_echo(fid_seq(&lobdo->o_oi.oi_fid))) {
+           fid_seq_is_echo(ostid_seq(&lobdo->o_oi))) {
                /* Currently OBD_FL_OSTID will only be used when 2.4 echo
                 * client communicate with pre-2.4 server */
                wobdo->o_oi.oi.oi_id = fid_oid(&lobdo->o_oi.oi_fid);