1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-21 11:13:30 +00:00
freebsd/sys/cddl
John Baldwin 9fca7a854c The zfs_get_xattrdir() function is used to find the extended attribute
directory for a znode.  When the directory already exists, it returns a
referenced but unlocked vnode.  When a directory does not yet exist, it
calls zfs_make_xattrdir() to create a new one.  zfs_make_xattrdir() returns
the vnode both referenced and and locked and zfs_get_xattrdir() was leaking
this vnode lock to its callers.  Fix this by dropping the vnode lock if
zfs_make_xattrdir() successfully creates a new extended attribute
directory.

Reviewed by:	pjd
2009-03-18 16:19:44 +00:00
..
boot/zfs Add definitions for ZFS pool version 13. 2008-11-21 09:10:35 +00:00
compat/opensolaris Extend the "vfsopt" mount options for more general use. Make struct 2009-03-02 23:26:30 +00:00
contrib/opensolaris The zfs_get_xattrdir() function is used to find the extended attribute 2009-03-18 16:19:44 +00:00
dev Remove unused variable. 2008-11-25 19:25:54 +00:00