From 939b469e48a309b4b1501760951dc4730bc86793 Mon Sep 17 00:00:00 2001 From: tappro Date: Wed, 20 Aug 2008 20:00:16 +0000 Subject: [PATCH] - vbr interoperability with 1.6 b:15942 i:rread, bzzz --- lustre/include/lustre_export.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/lustre/include/lustre_export.h b/lustre/include/lustre_export.h index 3db4499..d87175e 100644 --- a/lustre/include/lustre_export.h +++ b/lustre/include/lustre_export.h @@ -182,6 +182,13 @@ static inline int exp_connect_lru_resize(struct obd_export *exp) return !!(exp->exp_connect_flags & OBD_CONNECT_LRU_RESIZE); } +static inline int exp_connect_vbr(struct obd_export *exp) +{ + LASSERT(exp != NULL); + LASSERT(exp->exp_connection); + return !!(exp->exp_connect_flags & OBD_CONNECT_VBR); +} + static inline int imp_connect_lru_resize(struct obd_import *imp) { struct obd_connect_data *ocd; -- 1.8.3.1