mirror_zfs/module/os/linux/zfs
Heitor Alves de Siqueira 41e1aa2a06 Break out of zfs_zget early if unlinked znode
If zp->z_unlinked is set, we're working with a znode that has been
marked for deletion. If that's the case, we can skip the "goto again"
loop and return ENOENT, as the znode should not be discovered.

Reviewed-by: Richard Yao <ryao@gentoo.org>
Reviewed-by: Matt Ahrens <mahrens@delphix.com>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Heitor Alves de Siqueira <halves@canonical.com>
Closes #9583
2019-11-15 09:56:05 -08:00
..
abd.c Linux compat: Minimum kernel version 3.10 2019-11-12 08:59:06 -08:00
arc_os.c Enable use of DTRACE_PROBE* macros in "spl" module 2019-11-01 13:13:43 -07:00
Makefile.in Factor Linux specific code out of spa_misc.c 2019-10-31 09:52:22 -07:00
mmp_os.c Move linux specific mmp module_param_call handler to platform code 2019-10-16 18:37:31 -07:00
policy.c Linux compat: Minimum kernel version 3.10 2019-11-12 08:59:06 -08:00
qat_compress.c QAT related bug fixes 2019-09-12 13:33:44 -07:00
qat_crypt.c QAT related bug fixes 2019-09-12 13:33:44 -07:00
qat.c QAT related bug fixes 2019-09-12 13:33:44 -07:00
spa_misc_os.c Factor Linux specific code out of spa_misc.c 2019-10-31 09:52:22 -07:00
spa_stats.c Fix strdup conflict on other platforms 2019-10-10 09:47:06 -07:00
trace.c Enable use of DTRACE_PROBE* macros in "spl" module 2019-11-01 13:13:43 -07:00
vdev_disk.c Prevent NULL pointer dereference in blkg_tryget() on EL8 kernels 2019-11-13 10:19:06 -08:00
vdev_file.c OpenZFS restructuring - move platform specific sources 2019-09-06 11:26:26 -07:00
zfs_acl.c Move platform specific parts of zfs_znode.h to platform code 2019-11-06 10:54:25 -08:00
zfs_ctldir.c Linux compat: Minimum kernel version 3.10 2019-11-12 08:59:06 -08:00
zfs_debug.c Enable use of DTRACE_PROBE* macros in "spl" module 2019-11-01 13:13:43 -07:00
zfs_dir.c OpenZFS restructuring - move platform specific sources 2019-09-06 11:26:26 -07:00
zfs_ioctl_os.c Wrap Linux module macros 2019-11-01 10:41:03 -07:00
zfs_onexit_os.c Make zfsdev_getminor signature cross platform 2019-10-16 18:43:52 -07:00
zfs_sysfs.c OpenZFS restructuring - move platform specific sources 2019-09-06 11:26:26 -07:00
zfs_vfsops.c Linux compat: Minimum kernel version 3.10 2019-11-12 08:59:06 -08:00
zfs_vnops.c Prefix struct rangelock 2019-11-01 10:37:33 -07:00
zfs_znode.c Break out of zfs_zget early if unlinked znode 2019-11-15 09:56:05 -08:00
zio_crypt.c Linux 4.14, 4.19, 5.0+ compat: SIMD save/restore 2019-10-24 10:17:33 -07:00
zio_os.c Enable use of DTRACE_PROBE* macros in "spl" module 2019-11-01 13:13:43 -07:00
zpl_ctldir.c Linux compat: Minimum kernel version 3.10 2019-11-12 08:59:06 -08:00
zpl_export.c Linux compat: Minimum kernel version 3.10 2019-11-12 08:59:06 -08:00
zpl_file.c Linux compat: Minimum kernel version 3.10 2019-11-12 08:59:06 -08:00
zpl_inode.c Linux compat: Minimum kernel version 3.10 2019-11-12 08:59:06 -08:00
zpl_super.c Linux compat: Minimum kernel version 3.10 2019-11-12 08:59:06 -08:00
zpl_xattr.c Linux compat: Minimum kernel version 3.10 2019-11-12 08:59:06 -08:00
zvol_os.c Linux compat: Minimum kernel version 3.10 2019-11-12 08:59:06 -08:00