Go to file
LOLi 92aceb2a7e Fix "snapdev" property issues
When inheriting the "snapdev" property to we don't always call
zfs_prop_set_special(): this prevents device nodes from being created in
certain situations. Because "snapdev" is the only *special* property
that is also inheritable we need to call zfs_prop_set_special() even
when we're not reverting it to the received value ('zfs inherit -S').

Additionally, fix a NULL pointer dereference accidentally introduced in
5559ba0 that can be triggered when setting the "snapdev" property to
the value "hidden" twice.

Finally, add a new test case "zvol_misc_snapdev" to the ZFS Test Suite.

Reviewed by: Boris Protopopov <bprotopopov@hotmail.com>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: loli10K <ezomori.nozomu@gmail.com>
Closes #6131 
Closes #6175 
Closes #6176
2017-06-02 07:17:00 -07:00
.github Explain reason for Signed-off-by in CONTRIBUTING 2017-05-31 07:30:07 -07:00
cmd
config config: allow --with-linux without --with-linux-obj 2017-05-25 10:14:13 -07:00
contrib
etc
include Linux 4.12 compat: fix super_setup_bdi_name() call 2017-05-25 09:55:55 -07:00
lib Fix import finding spare/l2cache when path changes 2017-06-01 06:38:04 -07:00
man
module Fix "snapdev" property issues 2017-06-02 07:17:00 -07:00
rpm
scripts
tests Fix "snapdev" property issues 2017-06-02 07:17:00 -07:00
udev
.gitignore Improve gitignore 2017-05-25 10:14:13 -07:00
.gitmodules
AUTHORS
autogen.sh
configure.ac
copy-builtin
COPYRIGHT
DISCLAIMER
Makefile.am
META
OPENSOLARIS.LICENSE
README.markdown
TEST Retire filebench testing 2017-06-01 06:24:28 -07:00
zfs-script-config.sh.in
zfs.release.in

ZFS is an advanced file system and volume manager which was originally developed for Solaris and is now maintained by the Illumos community.

ZFS on Linux, which is also known as ZoL, is currently feature complete. It includes fully functional and stable SPA, DMU, ZVOL, and ZPL layers. And it's native!

Official Resources

Installation

Full documentation for installing ZoL on your favorite Linux distribution can be found at our site.

Contribute & Develop

We have a separate document with contribution guidelines.