Whamcloud - gitweb
LU-16057 obdclass: set OBD_MD_FLGROUP for ladvise RPC
[fs/lustre-release.git] / lustre / obdclass / obdo.c
index d17d197..b1d7337 100644 (file)
@@ -164,9 +164,6 @@ EXPORT_SYMBOL(obdo_cpy_md);
 void obdo_to_ioobj(const struct obdo *oa, struct obd_ioobj *ioobj)
 {
        ioobj->ioo_oid = oa->o_oi;
-       if (unlikely(!(oa->o_valid & OBD_MD_FLGROUP)))
-               ostid_set_seq_mdt0(&ioobj->ioo_oid);
-
        /*
         * Since 2.4 this does not contain o_mode in the low 16 bits.
         * Instead, it holds (bd_md_max_brw - 1) for multi-bulk BRW RPCs