Whamcloud - gitweb
LU-3590 osp: compat macro for is_remote_trans
[fs/lustre-release.git] / lustre / osp / osp_internal.h
index b253a46..383a3d1 100644 (file)
@@ -279,6 +279,8 @@ static inline bool is_only_remote_trans(struct thandle *th)
 {
        return th->th_dev->dd_ops == &osp_dt_ops;
 }
 {
        return th->th_dev->dd_ops == &osp_dt_ops;
 }
+/* compat define for lfsck, to be removed soon */
+#define is_remote_trans(a) is_only_remote_trans(a)
 
 static inline void osp_objid_buf_prep(struct lu_buf *buf, loff_t *off,
                                      __u32 *id, int index)
 
 static inline void osp_objid_buf_prep(struct lu_buf *buf, loff_t *off,
                                      __u32 *id, int index)