Permalink
Browse files

Release XATTRs in vnop_remove quicker

Directly call vnode_recycle to let XNU know to drop XATTRs, instead of
waiting for them at unmount
  • Loading branch information...
lundman committed Dec 1, 2014
1 parent 28a9cb8 commit 8bf68a82822d492ec9aae0bc8e93d2917ec79937
Showing with 1 addition and 1 deletion.
  1. +1 −1 module/zfs/zfs_vnops.c
View
@@ -2135,7 +2135,7 @@ zfs_remove(vnode_t *dvp, char *name, cred_t *cr, caller_context_t *ct,
if (xzp) {
VN_RELE(ZTOV(xzp));
//vnode_recycle(ZTOV(xzp));
vnode_recycle(ZTOV(xzp));
}
if (!delete_now) {
VN_RELE(vp);

0 comments on commit 8bf68a8

Please sign in to comment.