Whamcloud - gitweb
LU-4961 lustre: move ioctls to lustre_ioctl.h
[fs/lustre-release.git] / lustre / obdclass / obd_mount_server.c
index 0567556..d67963b 100644 (file)
@@ -50,6 +50,7 @@
 #include <obd_class.h>
 #include <lustre/lustre_user.h>
 #include <linux/version.h>
+#include <lustre_ioctl.h>
 #include <lustre_log.h>
 #include <lustre_disk.h>
 #include <lustre_param.h>
@@ -542,7 +543,7 @@ static int lustre_lwp_connect(struct obd_device *lwp)
        data->ocd_connect_flags |= OBD_CONNECT_MDS_MDS | OBD_CONNECT_FID |
                OBD_CONNECT_AT | OBD_CONNECT_LRU_RESIZE |
                OBD_CONNECT_FULL20 | OBD_CONNECT_LVB_TYPE |
-               OBD_CONNECT_LIGHTWEIGHT;
+               OBD_CONNECT_LIGHTWEIGHT | OBD_CONNECT_LFSCK;
        OBD_ALLOC_PTR(uuid);
        if (uuid == NULL)
                GOTO(out, rc = -ENOMEM);