Whamcloud - gitweb
LU-8929 lfsck: dumper gets current position properly
[fs/lustre-release.git] / lustre / lov / lovsub_dev.c
index 329831c..0ada9b5 100644 (file)
  *
  * You should have received a copy of the GNU General Public License
  * version 2 along with this program; If not, see
- * http://www.sun.com/software/products/lustre/docs/GPLv2.pdf
- *
- * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
- * CA 95054 USA or visit www.sun.com if you need additional information or
- * have any questions.
+ * http://www.gnu.org/licenses/gpl-2.0.html
  *
  * GPL HEADER END
  */
@@ -27,7 +23,7 @@
  * Copyright (c) 2008, 2010, Oracle and/or its affiliates. All rights reserved.
  * Use is subject to license terms.
  *
- * Copyright (c) 2013, 2015, Intel Corporation.
+ * Copyright (c) 2013, 2016, Intel Corporation.
  */
 /*
  * This file is part of Lustre, http://www.lustre.org/
@@ -81,12 +77,11 @@ static struct lu_device *lovsub_device_fini(const struct lu_env *env,
         struct lu_device *next;
         struct lovsub_device *lsd;
 
-        ENTRY;
-        lsd = lu2lovsub_dev(d);
-        next = cl2lu_dev(lsd->acid_next);
-        lsd->acid_super = NULL;
-        lsd->acid_next = NULL;
-        RETURN(next);
+       ENTRY;
+       lsd = lu2lovsub_dev(d);
+       next = cl2lu_dev(lsd->acid_next);
+       lsd->acid_next = NULL;
+       RETURN(next);
 }
 
 static struct lu_device *lovsub_device_free(const struct lu_env *env,