X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=blobdiff_plain;f=lustre%2Finclude%2Flustre_export.h;h=f7ee8ec5a158c885d1e4cbb5b0eb6b84caccd75b;hp=7d29455a75c6a0a9c467bf2cd79af102dced3566;hb=cda353e6efae5013a26aedbe49d8aa6fb8fe456e;hpb=6d5fe29066af5f8e40055fd89b285853c363e947 diff --git a/lustre/include/lustre_export.h b/lustre/include/lustre_export.h index 7d29455..f7ee8ec 100644 --- a/lustre/include/lustre_export.h +++ b/lustre/include/lustre_export.h @@ -480,6 +480,11 @@ static inline int exp_connect_encrypt(struct obd_export *exp) return !!(exp_connect_flags2(exp) & OBD_CONNECT2_ENCRYPT); } +static inline int exp_connect_lseek(struct obd_export *exp) +{ + return !!(exp_connect_flags2(exp) & OBD_CONNECT2_LSEEK); +} + enum { /* archive_ids in array format */ KKUC_CT_DATA_ARRAY_MAGIC = 0x092013cea,