diff options
author | Brian Behlendorf <[email protected]> | 2009-03-11 20:59:42 -0700 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2009-03-11 20:59:42 -0700 |
commit | 60ac8152fe89d8f46f3d8421fde0a461761950c7 (patch) | |
tree | 3d6512536323b4afeed06d5be0a595a8a6c025c7 /module | |
parent | 8a3b1a5ff5720beac033c2724d44c8c0cd254efa (diff) | |
parent | c5345441b6aae08cb53aae37bc4b0a85d1a7a723 (diff) |
Merge branch 'gcc-branch' into refs/top-bases/zfs-branch
Diffstat (limited to 'module')
-rw-r--r-- | module/zfs/dsl_dataset.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/module/zfs/dsl_dataset.c b/module/zfs/dsl_dataset.c index cc7e08d9e..a7a7a7f22 100644 --- a/module/zfs/dsl_dataset.c +++ b/module/zfs/dsl_dataset.c @@ -2614,10 +2614,11 @@ dsl_dataset_promote(const char *name) dsl_dir_t *dd; dsl_pool_t *dp; dmu_object_info_t doi; - struct promotearg pa = { 0 }; + struct promotearg pa; struct promotenode *snap; int err; + bzero(&pa, sizeof(struct promotearg)); err = dsl_dataset_hold(name, FTAG, &ds); if (err) return (err); |