Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
LU-3590 osp: compat macro for is_remote_trans
[fs/lustre-release.git]
/
lustre
/
osp
/
osp_internal.h
diff --git
a/lustre/osp/osp_internal.h
b/lustre/osp/osp_internal.h
index
b253a46
..
383a3d1
100644
(file)
--- 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)