From: Oleg Drokin Date: Sat, 22 Feb 2014 18:22:48 +0000 (-0500) Subject: LU-3590 osp: compat macro for is_remote_trans X-Git-Tag: 2.5.56~7 X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=commitdiff_plain;h=4ea73f18550786f5c2841944527c0d2d69a2a886;hp=fc1475ebdd64cd8eccc603d629ac6b4dcd222445 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 --- 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)