From: tappro Date: Wed, 20 Aug 2008 20:00:16 +0000 (+0000) Subject: - vbr interoperability with 1.6 X-Git-Tag: v1_7_80~1^49 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=939b469e48a309b4b1501760951dc4730bc86793;p=fs%2Flustre-release.git - vbr interoperability with 1.6 b:15942 i:rread, bzzz --- 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;