mirror_zfs/module
Mauricio Faria de Oliveira bc21c56c2d Check for unlinked znodes after igrab()
The changes in commit 41e1aa2a / PR #9583 introduced a regression on
tmpfile_001_pos: fsetxattr() on a O_TMPFILE file descriptor started
to fail with errno ENODATA:

    openat(AT_FDCWD, "/test", O_RDWR|O_TMPFILE, 0666) = 3
    <...>
    fsetxattr(3, "user.test", <...>, 64, 0) = -1 ENODATA

The originally proposed change on PR #9583 is not susceptible to it,
so just move the code/if-checks around back in that way, to fix it.

Reviewed-by: Pavel Snajdr <snajpa@snajpa.net>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Original-patch-by: Heitor Alves de Siqueira <halves@canonical.com>
Signed-off-by: Mauricio Faria de Oliveira <mfo@canonical.com>
Closes #9602
2020-01-22 13:49:04 -08:00
..
avl Fix typos in module/ 2020-01-22 13:48:59 -08:00
icp Linux 5.0 compat: SIMD compatibility 2020-01-22 13:49:01 -08:00
lua Fix typos in module/ 2020-01-22 13:48:59 -08:00
nvpair Fix typos in module/ 2020-01-22 13:48:59 -08:00
spl Add missing documentation for some KMC flags 2020-01-22 13:49:04 -08:00
unicode Update build system and packaging 2018-05-29 16:00:33 -07:00
zcommon Fix pool creation with feature@allocation_classes disabled 2020-01-22 13:49:02 -08:00
zfs Check for unlinked znodes after igrab() 2020-01-22 13:49:04 -08:00
.gitignore Prepare SPL repo to merge with ZFS repo 2018-05-29 14:51:39 -07:00
Makefile.in module/Makefile.in: don't run xargs if empty 2020-01-22 13:49:02 -08:00