[Bug 203201] on zfs extattr behaviour broken after unlink

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Sep 18 21:23:39 UTC 2015


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=203201

Andriy Gapon <avg at FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |avg at FreeBSD.org

--- Comment #1 from Andriy Gapon <avg at FreeBSD.org> ---
I could be wrong but I think that ENOENT is returned not because the file is
unlinked but because the attribute is not found.  That is, UFS reports the
condition as errno 87, but ZFS reports it as errno 2.  That looks like a
porting bug.  You can easily check that by calling
extattr_get_fd(<missing-attribute>) on a file that is not unlinked.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list