mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2024-12-28 03:49:38 +03:00
4352edaafb
The ZFS_ENTER/ZFS_EXIT/ZFS_VERFY_ZP macros should not be used in the Linux zpl_*.c source files. They return a positive error value which is correct for the common code, but not for the Linux specific kernel code which expects a negative return value. The ZPL_ENTER/ZPL_EXIT/ZPL_VERFY_ZP macros should be used instead. Furthermore, the ZPL_EXIT macro has been updated to not call the zfs_exit_fs() function. This prevents a possible deadlock which can occur when a snapshot is automatically unmounted because the zpl_show_devname() must never wait on in progress automatic snapshot unmounts. Reviewed-by: Adam Moss <c@yotes.com> Reviewed-by: Ryan Moeller <ryan@iXsystems.com> Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov> Closes #11169 Closes #11201 |
||
---|---|---|
.. | ||
Makefile.am | ||
policy.h | ||
sha2.h | ||
trace_acl.h | ||
trace_arc.h | ||
trace_common.h | ||
trace_dbgmsg.h | ||
trace_dbuf.h | ||
trace_dmu.h | ||
trace_dnode.h | ||
trace_multilist.h | ||
trace_rrwlock.h | ||
trace_txg.h | ||
trace_vdev.h | ||
trace_zfs.h | ||
trace_zil.h | ||
trace_zio.h | ||
trace_zrlock.h | ||
zfs_bootenv_os.h | ||
zfs_context_os.h | ||
zfs_ctldir.h | ||
zfs_dir.h | ||
zfs_vfsops_os.h | ||
zfs_vnops_os.h | ||
zfs_znode_impl.h | ||
zpl.h |