git://git.camperquake.de
/
zfs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix a race condition in zfs_getattr_fast()
[zfs.git]
/
module
/
zfs
/
vdev_label.c
diff --git
a/module/zfs/vdev_label.c
b/module/zfs/vdev_label.c
index
8b40087
..
3774d71
100644
(file)
--- a/
module/zfs/vdev_label.c
+++ b/
module/zfs/vdev_label.c
@@
-612,7
+612,7
@@
vdev_label_init(vdev_t *vd, uint64_t crtxg, vdev_labeltype_t reason)
char *buf;
size_t buflen;
int error;
char *buf;
size_t buflen;
int error;
- uint64_t spare_guid
, l2cache_guid
;
+ uint64_t spare_guid
= 0, l2cache_guid = 0
;
int flags = ZIO_FLAG_CONFIG_WRITER | ZIO_FLAG_CANFAIL;
int c, l;
vdev_t *pvd;
int flags = ZIO_FLAG_CONFIG_WRITER | ZIO_FLAG_CANFAIL;
int c, l;
vdev_t *pvd;