Whamcloud - gitweb
LU-8359 ldlm: Wrong evict during failover
[fs/lustre-release.git] / lustre / include / lustre_export.h
index b5ca7f7..7aa1dff 100644 (file)
@@ -164,7 +164,6 @@ do {                                                                           \
 
 enum obd_option {
         OBD_OPT_FORCE =         0x0001,
 
 enum obd_option {
         OBD_OPT_FORCE =         0x0001,
-        OBD_OPT_FAILOVER =      0x0002,
         OBD_OPT_ABORT_RECOV =   0x0004,
 };
 
         OBD_OPT_ABORT_RECOV =   0x0004,
 };
 
@@ -415,6 +414,11 @@ static inline __u64 exp_connect_ibits(struct obd_export *exp)
        return ocd->ocd_ibits_known;
 }
 
        return ocd->ocd_ibits_known;
 }
 
+static inline int exp_connect_large_acl(struct obd_export *exp)
+{
+       return !!(exp_connect_flags(exp) & OBD_CONNECT_LARGE_ACL);
+}
+
 extern struct obd_export *class_conn2export(struct lustre_handle *conn);
 extern struct obd_device *class_conn2obd(struct lustre_handle *conn);
 
 extern struct obd_export *class_conn2export(struct lustre_handle *conn);
 extern struct obd_device *class_conn2obd(struct lustre_handle *conn);