Whamcloud - gitweb
LU-3590 osp: compat macro for is_remote_trans 61/9361/2
authorOleg Drokin <oleg.drokin@intel.com>
Sat, 22 Feb 2014 18:22:48 +0000 (13:22 -0500)
committerOleg Drokin <oleg.drokin@intel.com>
Sat, 22 Feb 2014 18:33:06 +0000 (18:33 +0000)
There is a clash between a recently landed DNE patch and
a ready to land LFSCK series.

Change-Id: I0b3f9805fbf892e4ad0eb4b7fc736a871c438d77
Signed-off-by: Oleg Drokin <oleg.drokin@intel.com>
Reviewed-on: http://review.whamcloud.com/9361
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
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;
 }
+/* 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)