Whamcloud - gitweb
LU-6684 lfsck: set the lfsck notify as interruptable
[fs/lustre-release.git] / lustre / mgs / mgs_fs.c
index 532aaa6..064a7f1 100644 (file)
@@ -27,7 +27,7 @@
  * Copyright (c) 2007, 2010, Oracle and/or its affiliates. All rights reserved.
  * Use is subject to license terms.
  *
- * Copyright (c) 2011, 2014, Intel Corporation.
+ * Copyright (c) 2011, 2015, Intel Corporation.
  */
 /*
  * This file is part of Lustre, http://www.lustre.org/
@@ -102,7 +102,7 @@ out:
  * crash all connections are treated as new connections.
  */
 int mgs_client_add(struct obd_device *obd, struct obd_export *exp,
-                   void *localdata)
+                         void *localdata)
 {
         return 0;
 }
@@ -187,8 +187,6 @@ out:
 
 int mgs_fs_cleanup(const struct lu_env *env, struct mgs_device *mgs)
 {
-       class_disconnect_exports(mgs->mgs_obd); /* cleans up client info too */
-
        if (mgs->mgs_configs_dir) {
                lu_object_put(env, &mgs->mgs_configs_dir->do_lu);
                mgs->mgs_configs_dir = NULL;