aboutsummaryrefslogtreecommitdiffstats
path: root/module/zfs/uberblock.c
diff options
context:
space:
mode:
Diffstat (limited to 'module/zfs/uberblock.c')
-rw-r--r--module/zfs/uberblock.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/module/zfs/uberblock.c b/module/zfs/uberblock.c
index 34d7e0c3a..692cda137 100644
--- a/module/zfs/uberblock.c
+++ b/module/zfs/uberblock.c
@@ -19,12 +19,9 @@
* CDDL HEADER END
*/
/*
- * Copyright 2006 Sun Microsystems, Inc. All rights reserved.
- * Use is subject to license terms.
+ * Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved.
*/
-#pragma ident "%Z%%M% %I% %E% SMI"
-
#include <sys/zfs_context.h>
#include <sys/uberblock_impl.h>
#include <sys/vdev_impl.h>
@@ -58,6 +55,7 @@ uberblock_update(uberblock_t *ub, vdev_t *rvd, uint64_t txg)
ub->ub_txg = txg;
ub->ub_guid_sum = rvd->vdev_guid_sum;
ub->ub_timestamp = gethrestime_sec();
+ ub->ub_software_version = SPA_VERSION;
return (ub->ub_rootbp.blk_birth == txg);
}