From 4ea73f18550786f5c2841944527c0d2d69a2a886 Mon Sep 17 00:00:00 2001 From: Oleg Drokin Date: Sat, 22 Feb 2014 13:22:48 -0500 Subject: [PATCH] LU-3590 osp: compat macro for is_remote_trans 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 Reviewed-on: http://review.whamcloud.com/9361 Reviewed-by: Andreas Dilger --- lustre/osp/osp_internal.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lustre/osp/osp_internal.h b/lustre/osp/osp_internal.h index b253a46..383a3d1 100644 --- a/lustre/osp/osp_internal.h +++ b/lustre/osp/osp_internal.h @@ -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) -- 1.8.3.1