Whamcloud - gitweb
LU-3275 osd-ldiskfs: re-order osd device init/fini
[fs/lustre-release.git] / lustre / osd-ldiskfs / osd_internal.h
index 9c98789..85c2656 100644 (file)
@@ -745,7 +745,8 @@ static inline struct osd_oi *osd_fid2oi(struct osd_device *osd,
 {
        LASSERTF(!fid_is_idif(fid), DFID"\n", PFID(fid));
        LASSERTF(!fid_is_last_id(fid), DFID"\n", PFID(fid));
-       LASSERT(osd->od_oi_table != NULL && osd->od_oi_count >= 1);
+       LASSERTF(osd->od_oi_table != NULL && osd->od_oi_count >= 1,
+                DFID"\n", PFID(fid));
        /* It can work even od_oi_count equals to 1 although it's unexpected,
         * the only reason we set it to 1 is for performance measurement */
        return osd->od_oi_table[osd_oi_fid2idx(osd, fid)];