Whamcloud - gitweb
LU-2682 fid: cleanup direct _id and _seq access
[fs/lustre-release.git] / lustre / ofd / ofd_trans.c
index 3112a50..c88988f 100644 (file)
@@ -122,7 +122,7 @@ static int ofd_last_rcvd_update(struct ofd_thread_info *info,
        LASSERT(ofd);
        LASSERT(info->fti_exp);
 
-       if ((info->fti_exp->exp_connect_flags & OBD_CONNECT_LIGHTWEIGHT) != 0)
+       if (exp_connect_flags(info->fti_exp) & OBD_CONNECT_LIGHTWEIGHT)
                lw_client = true;
 
        fed = &info->fti_exp->exp_filter_data;