remove unnecessary transcation

This commit is contained in:
Edison Su 2011-08-04 18:49:36 -07:00
parent 1cf4db7276
commit 48342ff6e2
1 changed files with 0 additions and 2 deletions

View File

@ -586,8 +586,6 @@ public class StorageManagerImpl implements StorageManager, StorageService, Manag
VolumeVO createdVolume = null;
SnapshotVO snapshot = _snapshotDao.findById(snapshotId); // Precondition: snapshot is not null and not removed.
Transaction txn = Transaction.currentTxn();
txn.start();
Pair<VolumeVO, String> volumeDetails = createVolumeFromSnapshot(volume, snapshot);
createdVolume = volumeDetails.first();