Whamcloud - gitweb
LU-4612 lvfs: correct call to pop_ctxt
[fs/lustre-release.git] / lustre / osd-ldiskfs / osd_compat.c
index b4a018c..6ec1129 100644 (file)
@@ -411,7 +411,7 @@ static int osd_ost_init(const struct lu_env *env, struct osd_device *dev)
        GOTO(cleanup, rc);
 
 cleanup:
-       pop_ctxt(&new, &save);
+       pop_ctxt(&save, &new);
         if (IS_ERR(d)) {
                 OBD_FREE_PTR(dev->od_ost_map);
                 RETURN(PTR_ERR(d));