mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-23 19:04:45 +03:00
Update core ZFS code from build 121 to build 141.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user