Whamcloud - gitweb
LU-14911 osp: release thandle if it was created
[fs/lustre-release.git] / lustre / osp / osp_precreate.c
index c25bbe9..805f87d 100644 (file)
@@ -27,7 +27,6 @@
  */
 /*
  * This file is part of Lustre, http://www.lustre.org/
- * Lustre is a trademark of Sun Microsystems, Inc.
  *
  * lustre/osp/osp_precreate.c
  *
@@ -263,8 +262,8 @@ static int osp_statfs_update(const struct lu_env *env, struct osp_device *d)
                               d->opd_obd->obd_name,
                               atomic_read(&d->opd_sync_changes));
                        osp_sync_add_commit_cb_1s(env, d, th);
-                       dt_trans_stop(env, d->opd_storage, th);
                }
+               dt_trans_stop(env, d->opd_storage, th);
        }
 
 out: