Go to file
Joao Carlos Mendes Luis 75c62019f3
Fix allocation errors, detected using ASAN
The test for VDEV_TYPE_INDIRECT is done after a memory allocation, and
could return from function without freeing it.  Since we don't need that
allocation yet, just postpone it.

Add a missing free() when buffer is no longer needed.

Reviewed-by: Matthew Ahrens <mahrens@delphix.com>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: João Carlos Mendes Luís <jonny@jonny.eng.br>
Closes #10193
2020-04-13 10:54:41 -07:00
.github
cmd Fix allocation errors, detected using ASAN 2020-04-13 10:54:41 -07:00
config Linux 5.7 compat: blk_alloc_queue() 2020-04-09 09:16:46 -07:00
contrib Fix cstyle warnings 2020-03-17 15:42:27 -07:00
etc Fix zfs-functions packaging bug 2020-03-10 09:53:20 -07:00
include Persistent L2ARC 2020-04-10 10:33:35 -07:00
lib Add zstream redup command to convert deduplicated send streams 2020-04-10 10:39:55 -07:00
man Add zstream redup command to convert deduplicated send streams 2020-04-10 10:39:55 -07:00
module Disable user space reference tracking 2020-04-13 10:51:44 -07:00
rpm
scripts zloop.sh should call ZDB with pool name 2020-03-11 10:02:23 -07:00
tests ZTS: Fix and change testcase cache_010_neg 2020-04-13 10:50:41 -07:00
udev
.editorconfig
.gitignore Adapt gitignore for modules 2019-12-02 13:23:47 -08:00
.gitmodules
.travis.yml
AUTHORS
autogen.sh
CODE_OF_CONDUCT.md
configure.ac Add zstream redup command to convert deduplicated send streams 2020-04-10 10:39:55 -07:00
copy-builtin bash scripts: use /usr/bin/env for bash shebangs 2020-02-10 13:13:46 -08:00
COPYRIGHT ICP: Improve AES-GCM performance 2020-02-10 12:59:50 -08:00
LICENSE
Makefile.am
META Linux 5.7 compat: blk_alloc_queue() 2020-04-09 09:16:46 -07:00
NEWS
NOTICE
README.md Update README for OpenZFS 2020-02-25 11:43:20 -08:00
TEST Remove CI builder customization from TEST 2020-03-16 10:46:03 -07:00
zfs.release.in

img

OpenZFS is an advanced file system and volume manager which was originally developed for Solaris and is now maintained by the OpenZFS community. This repository contains the code for running OpenZFS on Linux and FreeBSD.

codecov coverity

Official Resources

  • Wiki - for using and developing this repo
  • ZoL Site - Linux release info & links
  • Mailing lists
  • OpenZFS site - for conference videos and info on other platforms (illumos, OSX, Windows, etc)

Installation

Full documentation for installing OpenZFS on your favorite Linux distribution can be found at the ZoL Site.

FreeBSD support is a work in progress. See the PR.

Contribute & Develop

We have a separate document with contribution guidelines.

We have a Code of Conduct.

Release

OpenZFS is released under a CDDL license. For more details see the NOTICE, LICENSE and COPYRIGHT files; UCRL-CODE-235197

Supported Kernels

  • The META file contains the officially recognized supported Linux kernel versions.